css笔记:
1.优先级:行内-内联-链入-@import
2.伪对象清除浮动:
.clearFix:after{
clear:both;
display:block;
visibility:hidden;
height:0;
line-height:0;
content:"";
}
.clearFix{zoom:1}
2022-10-17 09:32:19
css笔记:
1.优先级:行内-内联-链入-@import
2.伪对象清除浮动:
.clearFix:after{
clear:both;
display:block;
visibility:hidden;
height:0;
line-height:0;
content:"";
}
.clearFix{zoom:1}