利用父控件(伪类清除浮动)
父控件调用此方法
.clear:after{
content: "\200B";
display: block;
clear: both;
}
本文标题:伪类清除浮动
本文链接:https://www.haomeiwen.com/subject/yvxkjxtx.html
网友评论