标签:
html{-webkit-text-size-adjust:none; /*解决chrome浏览器下字体不能小于12px*/}
body{overflow-x: hidden; font-size:12px; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif;
/*font-family:Helvetica Neue",?Helveti...YaHei",?Arial,?sans-serif;*//*手机字体*/
}
a{outline:none; text-decoration:none;}a:hover{ text-decoration:underline;}
html{zoom:1;}html *{outline:0;zoom:1;} html button::-moz-focus-inner{border-color:transparent!important;}
/*设置margin和padding为0*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{/*border-collapse:collapse;border-spacing:0;*/}
fieldset,a img{border:0;}
address,caption,cite,code,dfn,em,th,var,i{font-style:normal;font-weight:normal;}
li{list-style:none;} caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:‘‘;}
input[type="submit"],input[type="reset"],input[type="button"],input[type=date],button,select{
appearance:none;
-moz-appearance:none; /* Firefox */
-webkit-appearance:none; /* Safari 和 Chrome */
/*去掉苹果的默认UI来渲染按钮 、解决部分手机浏览器对border:none无效办法*/
}
标签:
原文地址:http://www.cnblogs.com/liangcheng11/p/5487166.html