📜  显示内联块不起作用 - CSS 代码示例

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

代码示例1
.ex, .ex2, .ex3 {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 0;
    height: 100%;  /* no need of height: 200px; here */
}                  /* if you need to extend it to parent height */
                   /* then use height: 100% */