万能清除浮动

.clearfix:after {
    content: "020";
    display: block;
    height: 0;
    clear: both;
}
.clearfix {
    zoom: 1;
}
posted @ 2019-03-07 21:52  expworld  阅读(126)  评论(0编辑  收藏  举报