调整谷歌reCAPTCHA大小 How to resize the Google noCAPTCHA reCAPTCHA

最近调试reCAPTCHA的时候,发现手机版的reCAPTCHA会不适应大小:

Screen-Shot-2015-02-05-at-8.38.25-PM

经修改后应该为:

Screen-Shot-2015-02-05-at-9.39.41-PM

代码如下:

.g-recaptcha {transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;}

或者:

@media screen and (max-height: 575px){
.g-recaptcha {transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;}
}

 

原文/本文:调整谷歌reCAPTCHA大小 How to resize the Google noCAPTCHA reCAPTCHA