0
点赞
收藏
分享

微信扫一扫

html+css实战130-版心和清除样式

pipu 2023-02-11 阅读 127


index.css

/* index.css是用来美化首页的 */
* {
margin: 0;
padding: 0;
/* 內减模式 */
box-sizing: border-box;
}

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;
}

举报

相关推荐

0 条评论