/* reset.css */
* {
margin: 0;
padding: 0;
/* 内减模式 */
box-sizing: border-box;
}
/*清除li标签的样式*/
li {
list-style: none;
}
a {
text-decoration: none;
}
/* 清除浮动 */
.clearfix::before,
.clearfix::after {
content: '';
display: table;
}
.clearfix::after {
clear: both;
}
body {
background-color: #f3f5f7;
}
/* 版心居中 */
.wrapper {
width: 1200px;
margin: 0 auto;
}
清除浏览器默认样式
最新推荐文章于 2024-04-15 22:53:50 发布