📌  相关文章
📜  css 如何使相同类型的元素从相同的高度开始 - TypeScript 代码示例

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

代码示例1
CSS:
.row {
  display: flex; /* equal height of the children */
}

.col {
  flex: 1; /* additionally, equal width */
  
  padding: 1em;
  border: solid;
}
HTML:
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad omnis quae expedita ipsum nobis praesentium velit animi minus amet perspiciatis laboriosam similique debitis iste ratione nemo ea at corporis aliquam.