如果设置了float属性,同时又设置 display: -webkit-box; display: -moz-box;
因为display属性本身他就让元素成为行内元素了所以再使用float时元素就会飞了。
如果设置了float属性,同时又设置 display: -webkit-box; display: -moz-box;
因为display属性本身他就让元素成为行内元素了所以再使用float时元素就会飞了。
转载于:https://my.oschina.net/yjjjjjj/blog/711318