样式公用代码

/************** bug ************/
.clearfix:after {content:""; display:block; height:0px; clear:both; overflow:hidden;}
.clearfix {display:inline-block;}
.clearfix {display:block;}

/************** 公共用 ************/
html {overflow:-moz-scrollbars-vertical;-webkit-text-size-adjust:none;overflow-x: hidden;overflow-y: scroll;}
h1,h2,h3,h4,h5,img,form,label,input,select,option,textarea,ul,ol,li,dl,dt,dd,p,span{padding:0;margin:0;}
body{color:#666; font-size:12px; line-height:18px;font-family: "Microsoft YaHei",Tahoma,Arial,sans-serif;padding:0;margin:0;}
h1 {font-size:26px; color:#212121; line-height:32px;}
h2 {font-size:14px; line-height:24px;color:#2b639c}
h3 {font-size:12px; line-height:24px;color:#2b639c}
img {border:none}
ul,li{list-style:none}
a:link, a:visited {color:#2b639c;text-decoration:none;}
a:hover, a:active {color:#f47118;text-decoration:none;}
a{blr:expression(this.onFocus=this.blur()); /* IE Opera */ outline:none; /* FF Opera */ }
a:focus{ -moz-outline-style: none; /* FF */ }

你可能感兴趣的:(代码)