清除浮动

1.

.clearfix::before,.clearfix::after{
content: '';
display: block;
height:0;
clear: both;
overflow: hidden;
}
.clearfix{
zoom:1;
}
posted @ 2016-12-26 09:05  九门提督琪琪  阅读(107)  评论(0编辑  收藏  举报