文章目录 一、左右固定,中间自适应1. 浮动2. 绝对定位3. flex4. table5. grid6. calc 二、垂直居中 一、左右固定,中间自适应 1. 浮动 2. 绝对定位 3. flex 4. table 5. grid 6. calc 二、垂直居中