📜  css 防止边距折叠 - CSS 代码示例

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

代码示例1
/* Some CSS Properties that prevent margin collapsing (each of them does) */

float: left;
float: right;

position: absolute;

display: inline-block;
display: flex;

overflow: hidden;