📜  扩展元素以覆盖元素内任何浮动内容的样式规则 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:42.858000             🧑  作者: Mango

代码示例1
.row {
    clear: both;
}

.row::after {
    clear: both;
    content: "";
    display: table;
}