What does the CSS property "line-height" primarily affect?

  • Background color
  • Font color
  • Spacing between lines of text
  • Text size
The CSS property "line-height" primarily affects the spacing between lines of text within an element. It determines the vertical distance between the baselines of two consecutive lines of text. Adjusting the line-height can impact the readability and aesthetics of text on a webpage.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *