手机端清除样式

* { padding: 0; margin: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; }
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, form, input, font,figure{ padding: 0; font-family: Microsoft YaHei, Arial, Helvetica, sans-serif; font-size:100%;margin: 0 auto;color:#505050;}
fieldset, img { border: 0; vertical-align: top; }
article, aside, dialog, footer, header, section, footer, nav, figure, menu { display: block }
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
ol, ul, li, dl, dt, dd { list-style: none; }
.left { float: left; }
.right { float: right; }
a {color:#333;text-decoration: none; }
a:link, a:visited { text-decoration: none; outline: none; }
a:hover { text-decoration: none; outline: none; }
.clearfix:after { display: block; font-size: 0; content: " "; clear: both; height: 0; line-height: 0; zoom: 1; visibility: hidden; }
input[type="submit"],  input[type="button"],  button { -webkit-appearance: none; outline: 0; cursor: pointer; }
textarea { resize: none; overflow: auto; vertical-align: top; }
i, em { font-style: normal; }
body { width: 100%; max-width: 640px; min-width: 320px; font-size:18px;line-height: 30px; overflow: hidden; }


 @media only screen and (min-width: 320px)and (max-width: 360px) {
body{ font-size:12px;line-height:22px;}
}
 @media only screen and (min-width: 360px)and (max-width: 480px) {
body{ font-size:14px;line-height:24px;}
}
 @media only screen and (min-width: 480px)and (max-width: 640px) {
body{ font-size:16px;line-height:28px;}
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

N____N

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值