DEV Community

Discussion on: Quick CSS Quiz #3

Collapse
ismail9k profile image
Abdelrahman Ismail Author • Edited on

It's very easy if you already know how line-height with unit-less value works πŸ˜‰, but unfortunately most developers go with 2em.

And the original quiz posted by Kevin Yank here: 3 things (almost) no one knows css

Collapse
equinusocio profile image
Mattia Astorino

Yes but unitless line height is just one of the accepted value. It’s not a β€œtrick” like the previous quiz.