码迷,mamicode.com
首页 > 移动开发 > 详细

移动端必备的样式

时间:2015-09-14 15:32:11      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:

*{ 
-webkit-text-size-adjust: none; }
input[type="button"], input[type="submit"], input[type="reset"]
{ -webkit-appearance: none; } textarea { -webkit-appearance: none; } a, button, input, textarea { -webkit-tap-highlight-color: rgba(0, 0, 0, 0; ) -webkit-user-modify:read-write-plaintext-only; } html { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } img { -webkit-touch-callout: none; } html {font-size:10px} @media screen and (min-width:480px) and (max-width:639px) { html { font-size: 15px } } @media screen and (min-width:640px) and (max-width:719px) { html { font-size: 20px } } @media screen and (min-width:720px) and (max-width:749px) { html { font-size: 22.5px } } @media screen and (min-width:750px) and (max-width:799px) { html { font-size: 23.5px } } @media screen and (min-width:800px) and (max-width:959px) { html { font-size: 25px } } @media screen and (min-width:960px) and (max-width:1079px) { html { font-size: 30px } } @media screen and (min-width:1080px) { html { font-size: 32px } }

 

移动端必备的样式

标签:

原文地址:http://www.cnblogs.com/yjhua/p/4807054.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!