|
/*css格式化*/
*{box-sizing: border-box; }
html,body,ul,li,ol,dl,dd,dt,p,h1,h2,h3,h4,h5,h6,form,fieldset,legend,img { margin:0; padding:0; }
fieldset,img,input,button { border:none; padding:0;margin:0;outline-style:none; }
ul, ol { list-style:none; }
input { padding-top:0; padding-bottom:0; font-family: "SimSun","宋体";}
select, input { vertical-align:middle;}
select, input, textarea { margin:0; }
textarea { resize:none; }
img {border:0; vertical-align:middle; max-width: 100%;width: 100%;}
table { border-collapse:collapse; }
body {
color:#666;
background:#fff
}
h1,h2,h3,h4,h5,h6 {text-decoration:none;font-weight:normal;}
s,i,em{font-style:normal;text-decoration:none;}
a {color:#666; text-decoration:none; }
/* 字体 */
.fb{font-weight:bold}
.fn{font-weight:normal}
.t2{text-indent:2em}
/* 行高 */
.lh16{line-height:160%}
.lh18{line-height:180%}
.lh20{line-height:200%}
/* 下划线 */
.unl{text-decoration:underline;}
.no_unl{text-decoration:none;}
/* 行居中 */
.tl{text-align:left}
.tc{text-align:center}
.tr{text-align:right}
/* 块居中 */
.ma{margin: 0 auto;}
/* 浮动 */
.fl{float:left;}
.fr{float:right;}
/* 清除浮动 */
.cb{clear:both}
.cl{clear:left}
.cr{clear:right}
.vm{vertical-align:middle}
/* 定位 */
.pr{position:relative}
.pa{position:absolute}
/* 浮动 */
.fl{float: left;}
.fr{float: right;}
.hidden{visibility:hidden}
.oh{overflow: hidden;}
/* dispaly */
.di{display:inline;}
.db{display: block;}
.dib{display: inline-block;}
.dn{display: none;}
.w100{width: 100%;}
.h100{height: 100%;}
|