css样式reset

时间:2023-01-17 17:10:34

初始化样式。

@CHARSET "UTF-8";
body,ur,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div,dl,dt,dd,input{margin:0;padding:0;}
body{font-size:12px;}
img{border:none;}
li{list-style:none;}
input,select,textarea{outline:none;}
textarea{resize:none;}
a{text-decoration:none;}
/*清除浮动*/
.clearfix:after{content:"";dispaly:block;clear:both;}
.clearfix{zoom:1;}