/*css初始化*/
body, ul, p, h1, h2, h3, h4, h5, h6, dl, dt, dd, input, form {
margin: 0;
padding: 0;
}
body {
font: 12px arial, 'microsoft yahei';
color: #666;
background-color: #f7f7f7;
}
/* .w{
width: 1200px;
margin: 0 auto;
} */
li {
list-style: none;
}
img, input{
border: 0 none;
outline-style: none;
margin: 0;
padding: 0;
/*清除图片底部缝隙*/
vertical-align: middle;
}
a {
color: #666;
text-decoration: none;
}
i, em {
font-style: normal;
}
a:hover {
color: #c81623;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
}
.left {
float: left;
}
.right {
float: right;
}
.clearfix:after {
content: "";
display: block;
height: 0;
visibility: hidden;
clear: both;
}
.clearfix {
*zoom: 1;
}
CSS初始化
最新推荐文章于 2023-04-27 22:22:59 发布