@charset "utf-8";
/* css初始化 /
html,body,p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,form,fieldset,textarea,th,td {
margin: 0;
padding: 0;
}
body {
/字體、顏色、背景色/
font-size: 12px;
font-family: "Microsoft Yahei", sans-serif, "\5FAE\8F6F\96C5\9ED1";
color: #ccc;
background: #fff
}
table {
/邊框合并/
border-collapse: collapse;
border-spacing: 0;
}
fieldset,img,input,button {
/去掉input等聚焦時的藍(lán)色邊框/
border: none;
padding: 0;
margin: 0;
outline-style: none;
}
img {
/去掉圖片低測默認(rèn)的3像素空白縫隙,或者用display:block也可以/
border: 0;
vertical-align: middle;
}
ul,ol {
/清除列表風(fēng)格/
list-style: none;
}
input {
padding-top: 0;
padding-bottom: 0;
font-family: "SimSun", "宋體";
}
select,input {
vertical-align: middle;
}
select,input,textarea {
font-size: 12px;
margin: 0;
}
textarea {
/ 邊框清零 /
border: none;
/ 輪廓線清零 /
outline: none;
/ 防止文本域被隨意拖拽 */
resize: none;
}
/* html,body {
width: 100%;
height: 100%;
font-size: 100px!important;
} */
a,a:active,a:visited {
/下劃線和顏色/
text-decoration: none;
color: #ccc;
}
a:hover {
color: #333;
}
s,i,em {
/文字樣式/
font-style: normal;
text-decoration: none;
}
h1,h2,h3,h4,h5,h6 {
/* 設(shè)置h標(biāo)簽的大小,設(shè)置跟父親一樣大的字體font-size:100% /
font-size: 100%;
font-weight: normal;
text-decoration: none;
}
/ 使用偽元素清除浮動 */
.clearfix::before,
.clearfix::after {
content: "";
height: 0;
line-height: 0;
display: block;
visibility: none;
clear: both;
}
.clearfix {
*zoom: 1;
}
/* 公共類 */
.w { width: 1210px;margin: 0 auto; }
.fl { float: left; }
.fr { float: right;}
.al { text-align: left;}
.ac { text-align: center;}
.ar { text-align: right;}
.hide { display: none;}
.font12 { font-size: 12px;}
.font14 { font-size: 14px;}
.font16 { font-size: 16px;}