Skip to content

行内元素 css ​

名词

line box 行框元素

inline box 行内元素(内联元素)

vertical-align ​

适用 inline inline-block table-cell 元素盒子 box

line-height ​

适用 行框内文字 块元素中文字(用来设置文字行之间的间距)

取值 ​

  • normal
  • number 相对于文字的 font-size
  • percentage 相对于文字的 font-size
  • length 行框内的高度 px/em

Released under the MIT License.