CSS清除浮动
.clearfix:after {
content: ' ';
display: table;
clear: both;
}
.clearfix {
/*兼容IE低版本*/
*zoom: 1;
}
清除footer的浮动,对container用clearfix
.clearfix:after {
content: ' ';
display: table;
clear: both;
}
.clearfix {
/*兼容IE低版本*/
*zoom: 1;
}
清除footer的浮动,对container用clearfix