前端同鞋在寫(xiě)ui給的頁(yè)面過(guò)程中配紫,有的場(chǎng)景可能會(huì)受html標(biāo)簽?zāi)J(rèn)樣式影響牺六,所以有些時(shí)候需要去掉默認(rèn)樣式
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}
body{font:14px "\5b8b\4f53",sans-serif;background:#f9f9f9;height:100%;}
img{border:none;}
em,i{font-style:normal;}
ul,ol,li{list-style:none;}
table {border-collapse:collapse;border-spacing:0;}
h1,h2,h3,button,input,select,textarea {font-size:100%;}
input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}
/* link */
a{color:#333;text-decoration:none;blr:expression(this.onFocus=this.blur());}
a:hover{color:#333;text-decoration:underline;}
a:focus{outline:none;}
/* clearfix */
.clearfix {*zoom:1;}
.clearfix:after{clear: both; content: "."; display: block; height: 0;visibility: hidden;}