淘宝的`
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padding:0; }
body, button, input, select, textarea { font:12px/1.5tahoma, arial, \5b8b\4f53; }
h1, h2, h3, h4, h5, h6{ font-size:100%; }
address, cite, dfn, em, var { font-style:normal; }
code, kbd, pre, samp { font-family:couriernew, courier, monospace; }
small{ font-size:12px; }
ul, ol { list-style:none; }
a { text-decoration:none; }
a:hover { text-decoration:underline; }
sup { vertical-align:text-top; }
sub{ vertical-align:text-bottom; }
legend { color:#000; }
fieldset, img { border:0; }
button, input, select, textarea { font-size:100%; }
table { border-collapse:collapse; border-spacing:0; }
/* IE浏览器对输入控件有自己的font-family,需要统一 */
input,
textarea,
button{
font-family: inherit;
}
/* Chrome浏览器会在输入控制聚集的时候添加一个蓝色的outline*/
input:focus,
textarea:focus,
select:focus{
outline: none;
}
/* 去掉textarea的可拉大小功能*/
textarea{
resize: none;
}
/* IOS Safari在横屏的时候会放大字体,第二个属性让滑动更流畅 */
html{
-webkit-text-size-adjust: 100%;
-webkit-overflow-scrolling : touch;
}
/* 统一标签的margin值和p标签的line-height*/
body, p, h1, h2, ul, ol, figure, li{
padding: 0;
margin: 0;
}
h1, h2, p{
line-height: 150%;
}
/* 去掉select的默认样式 */
select{
-webkit-appearance: none;
}
/* 如果有输入内容IE会给输入框右边加一个大大的X */
input::-ms-clear{
display: none;
width: 0;
height: 0;
}
/* 去掉number输入框右边点击上下的小三角 */
input::-webkit-inner-spin-button{
-webkit-appearance: none;
}
input::-webki-outer-spin-button{
-webki-appearance: none;
}