DEV Community

Discussion on: Quick CSS Quiz #3

Collapse
andrerpena profile image
André Pena

How is this different from 2em?

Collapse
ismail9k profile image
Abdelrahman Ismail Author

That's why this may seem tricky, CSS has a completely different behavior when using line-height with em rather than using unit-less value,