标签归档:清除浮动

clearfix:清除浮动(收藏)

.clearfix:after{
content: “.”;
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {
display: inline-block;
}
/* Hides from IE-mac[……]阅读全文

发表在 CSS Hack | 标签为 , | 留下评论