Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

is there ever a time to use 'em' over 'rem'?

Why would I ever use 'em' when I can just use 'rem'? It seems a lot simpler to just reference the root font size all the time instead of thinking about nested em sizes.

2 Answers

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Gary;

Here is a good article on this subject.

Ken

In addition, you might find this good from CSS-Tricks

http://css-tricks.com/rems-ems/