Sizing in CSS
# em
and rem
Here are two simple rules:
- Size in
em
if the property scales according to itsfont-size
- Size everything else in
rem
em
and rem
Here are two simple rules:
em
if the property scales according to its font-size
rem