Difference between baseline of empty and non-empty inline blocks

前端 未结 1 1185
太阳男子
太阳男子 2020-12-29 09:37



        
相关标签:
1条回答
  • 2020-12-29 10:03

    From CSS2: Line height calculations

    vertical-align: baseline — align the baseline of the box with the baseline of the parent box. If the box doesn't have a baseline, align the bottom of the box with the parent's baseline.

    0 讨论(0)
提交回复
热议问题