首页 > 代码库 > CSS初始化

CSS初始化

body,ul,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;
    font-family:"微软雅黑";
}
em{font-style:none;}     //font-style:normal;
img{border: none;verticle-align:top;}

a{text-decoration: none;}
table{border-collapse:collapse;}
li{list-style: none;}
input,select,textarea{outline: none;}
textarea{resize: none;overflow:auto;}

/*清浮动*/
.clearfix:after{content: "";display: block;clear: both;}
.clearfix{zoom: 1;}

/*public*/
.fl{float: left;}
.fr{float: right;}

CSS初始化