REM vs EM
Two simple rules:
- Size in em if the property scales according to it’s font-size
- Size everything else in rem.
Written by Joan Llenas
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Related Tags
#css
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#