What is line-height:1?

后端 未结 6 1916
迷失自我
迷失自我 2020-12-29 02:36

It is a question about the appointment of line-height.

I began study of css. line-height: Examples appointing 20px or a unit are often found. It is sometimes line-

6条回答
  •  囚心锁ツ
    2020-12-29 02:48

    It's a multiple of the font size. From the CSS 2.1 Candidate recommendation: »The used value of the property is this number multiplied by the element's font size.«

提交回复
热议问题