📜  行高 css 代码示例

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

代码示例2
.green {
  line-height: 1.1;
  border: solid limegreen;
}

.red {
  line-height: 1.1em;
  border: solid red;
}

h1 {
  font-size: 30px;
}

.box {
  width: 18em;
  display: inline-block;
  vertical-align: top;
  font-size: 15px;
}