Use ‘rem’ for Global Sizing; Use ’em’ for Local Sizing

css-tricks.com / filed under HTML & CSS

Richard Rutter’s guide for setting the font-size of an element is interesting: he argues that we should use both em and rem units depending on the relationship it might have with other elements on the page:

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency

Permission