Skip to main content
deleted 36 characters in body
Source Link
Scott
  • 211.5k
  • 21
  • 297
  • 575

The line-height property will not change the size of your font if you have specified a font-size.

line-height is essentially drawn behind the type and if smaller than the font size it will have no effect on the actual type. Setting a smaller line-height actually works to change the height, but it doesn't change the font-size. You can set an overflow property to hide portions of text, but the size of text wont' change.

The only time line-height actually visually alters the line by default is when it is set larger than the type needs to display.

Demo here

The line-height property will not change the size of your font if you have specified a font-size.

line-height is essentially drawn behind the type and if smaller than the font size it will have no effect on the actual type. Setting a smaller line-height actually works to change the height, but it doesn't change the font-size. You can set an overflow property to hide portions of text, but the size of text wont' change.

The only time line-height actually visually alters the line by default is when it is set larger than the type needs to display.

Demo here

The line-height property will not change the size of your font.

line-height is essentially drawn behind the type and if smaller than the font size it will have no effect on the actual type. Setting a smaller line-height actually works to change the height, but it doesn't change the font-size. You can set an overflow property to hide portions of text, but the size of text wont' change.

The only time line-height actually visually alters the line by default is when it is set larger than the type needs to display.

Demo here

deleted 45 characters in body
Source Link
Scott
  • 211.5k
  • 21
  • 297
  • 575

The line-height property will not change the size of your font if you have specified a font-size.

line-height is essentially drawn behind the type and if smaller than the font size it will have no effect on the actual type unless you are using relative type sizes (%). Setting a smaller line-height actually works to change the height, but it doesn't change the font-size. You can set an overflow property to hide portions of text, but the size of text wont' change.

The only time line-height actually visually alters the line by default is when it is set larger than the type needs to display.

Demo here

The line-height property will not change the size of your font if you have specified a font-size.

line-height is essentially drawn behind the type and if smaller than the font size it will have no effect on the actual type unless you are using relative type sizes (%). Setting a smaller line-height actually works to change the height, but it doesn't change the font-size. You can set an overflow property to hide portions of text, but the size of text wont' change.

The only time line-height actually visually alters the line by default is when it is set larger than the type needs to display.

Demo here

The line-height property will not change the size of your font if you have specified a font-size.

line-height is essentially drawn behind the type and if smaller than the font size it will have no effect on the actual type. Setting a smaller line-height actually works to change the height, but it doesn't change the font-size. You can set an overflow property to hide portions of text, but the size of text wont' change.

The only time line-height actually visually alters the line by default is when it is set larger than the type needs to display.

Demo here

Source Link
Scott
  • 211.5k
  • 21
  • 297
  • 575

The line-height property will not change the size of your font if you have specified a font-size.

line-height is essentially drawn behind the type and if smaller than the font size it will have no effect on the actual type unless you are using relative type sizes (%). Setting a smaller line-height actually works to change the height, but it doesn't change the font-size. You can set an overflow property to hide portions of text, but the size of text wont' change.

The only time line-height actually visually alters the line by default is when it is set larger than the type needs to display.

Demo here