📜  内联块文本顶部对齐 - 任何代码示例

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

代码示例1
.small{
    display: inline-block;
    width: 40%;
    height: 30%;
    border: 1px black solid;
    background: aliceblue;   
    vertical-align:top; /* <---- this */
}