我是文字
viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style type="text/<em>css</em>
p{
width: 100px;
background-color: yellow;
}
p{
<em>float</em>
--
1.清除浮动<em>的</em>第二种方式
给后面<em>的</em>盒子添加clear属性
clear属性取值:
none: 默认取值, 按照浮动元素<em>的</em>排序规则来排序(左浮动找左浮动, 右浮动找右浮动)
left: 不要找前面<em>的</em>左浮动元素