通用版css reset,pc端使用只需要修改html{font-size: 10px;}为html{font-size: 12px;}

@charset "utf-8";

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
width: 100%;
height: 100%;
} html {
font-family: 'sans-serif',"Microsoft YaHei","微软雅黑","Tahoma","Helvetica";
font-size: 10px;
background: #fff;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-webkit-tap-highlight-color: rgba(0,0,0,0)
} table {
border-collapse: collapse;
border-spacing: 0;
} img {
border: 0; max-width:100%!important;
vertical-align: middle;
} address,caption,cite,code,dfn,i,em,strong,th,var {
font-weight: normal;
font-style: normal;
} ol,ul {
list-style: none;
} a {
text-decoration: none;
} a:hover,a:focus {
outline: none;
} caption,th {
text-align: left;
font-weight: normal;
} h1,h2,h3,h4,h5,h6 {
font-weight: normal;
font-size: 100%;
} q:before,q:after {
content: ”;
} abbr,acronym {
border: 0;
} button,input,optgroup,select,textarea {
margin: 0;
font: inherit;
color: inherit;
} * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
} :before,:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
} input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration {
-webkit-appearance: none;
} article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary {
display: block;
} @media screen and (min-width:100px) {
/* iPhone 4,5 */
html {
font-size: 10px;
}
} @media screen and (min-width:320px) {
/* iPhone 4,5 */
html {
font-size: 10px;
}
} @media screen and (min-width:375px) {
/* iPhone 6 */
html {
font-size: 12px;
}
} @media screen and (min-width:414px) {
/* iPhone 6 plus */
html {
font-size: 12px;
}
} @media screen and (min-width:600px) {
html {
font-size: 14px;
}
}

最新文章

  1. [转]理解JavaScript中的事件处理
  2. C#使用NPOI导出Excel表格
  3. Xcode注释插件 VVDocumenter 升级Xcode6.x 失效的解决办法
  4. 第一部分实现功能:使用一个TabControl和一个Memo和TDictionary类实现文本临时存储
  5. Chrome测试网站加载时间与流量消耗
  6. java日期int和String互转
  7. 49、word2vec - tensorflow
  8. JAVA课程设计+购物车 个人博客
  9. Spring装配Bean之Java代码装配bean
  10. 【BZOJ2243】【SDOI2011】染色(树链剖分,线段树)
  11. C语言 分支与循环 递推思想 穷举 流程的转移控制
  12. 如何给CentOS 安装Vmware Tools
  13. 调试django项目的土方法
  14. oracle undo redo 解析
  15. IOS 通过脚本自动打包工具 webfrogs/xcode_shell
  16. English trip -- VC(情景课)4 C My feet hurt 我脚痛
  17. Spark程序本地运行
  18. 网路防火墙iptables
  19. 2016级算法第六次上机-A.Bamboo之寻找小金刚
  20. python实战——文本挖掘+xgboost预测+数据处理+准确度计算整合版

热门文章

  1. iscsi客户端常用操作
  2. 解决自动安装Freebsd系统盘符无法确定问题
  3. Android Support v4\v7\v13和AndroidX理解【转载】
  4. Java中5种List的去重方法及它们的效率对比,你用对了吗?
  5. Redis订阅
  6. [原题复现]SUCTF 2019 WEB EasySQL(堆叠注入)
  7. 图像分割必备知识点 | Dice损失 理论+代码
  8. 「CSP-S 2019」Emiya 家今天的饭
  9. Spring中各个模块
  10. Java集合【4】-- iterable和Iterator的异同分析详解