search

Home  >  Q&A  >  body text

If line-height does not specify a height in CSS, what is the default value?

cssIf line-height is not specified, what is the default value? Is it equal to font-size? Sometimes it feels like manually setting it to be the same as font-size has a different effect than leaving it unset by default.

不言不言2302 days ago1651

reply all(1)I'll reply

  • 不言

    不言2018-10-23 17:43:44

    The default value of line-height is normal. The description is to set a reasonable line spacing. The effect is different in different browsers, probably between 1 and 1.2.

    reply
    0
  • Cancelreply