CSS BFC(Block Formatting Context)
- 作者: 大腿无名指
- 来源: 51数据库
- 2022-08-15
<style> ul li{list-style:none;float:left;width:120px;height:600px;margin:10px;background:#0ff;} </style> <div style="width:400px;height:600px;background:#f00"> <ul> <li></li> <li></li> <div style="overflow:hidden"><li style="overflow:hidden"></li></div> </ul>
推荐阅读