html - Textarea with font-size:30px still autozooms when activated on mobile -


as understand it, setting text input's font-size size greater 16px, supposed disable autozoom effect happens when activate text input on mobile device.

i set font-size 30px, autozoom effect still there. tested on chrome, safari, uc, mercury, , dolphin iphone 5.

here's live example: http://www.rouvou.com/pages/stack%20exchange. it's comment field. (users have cast vote before can comment)

here's full code:

html

<div id="new-comment-mobile">   <div id="new-good-comment">     <%= form_for(@good_comment, remote: true) |f| %>       <%= f.text_area :text, maxlength: "650" %>       <%= f.submit "post" %>     <% end %>   </div> </div> 

css

#new-comment-mobile {   position: relative;   textarea {     line-height: 130%;     width: 80%;     font-size: 30px;   } } 

why browser still autozooming? don't want disable zooming functionality...

using ios developer tools via usb on iphone, can see font-size: 30px has gone through. reason @user1273587 not see via chrome dev tools because @media selectors change font size on mobile.

from testing, higher font size, less device zooms in. @ 60px testing, device not zoom @ all.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -