浮动布局

📅 2026/7/10 8:17:24 👁️ 阅读次数 📝 编程学习
浮动布局
浮动父级加overflow;子级左右结构加float






1

2

3

4



先分大块后分小块 父级需要加overflow:hidden做清除,子级左右分类需要加float:left