clear属性的作用 指定某个元素的一侧不能出现浮动元素.它是通过为这个元素在上边距之外增加空间,从而使得这个元素的顶部和浮动元素的底部对齐.这里作用的仅仅是同一个bfc下的浮动元素. This property can clear an element only from floated boxes within the same block formatting context. It doesn’t clear the element from floated child boxes wi…