在设置浮动后会有高塌等问题出现,下面为解决方案
&::after: { clear: “both”;
content: “”;
display: “table”}
清除浮动
最新推荐文章于 2024-04-29 16:58:49 发布
在设置浮动后会有高塌等问题出现,下面为解决方案
&::after: { clear: “both”;
content: “”;
display: “table”}