Get free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

How to resize text effectively with EM/REM units

Follow
Chris Courses

Become a CSS wizard with my 6+ hour masterclass only at https://chriscourses.com/courses/css/...

Em and Rem units are used to size your text elements relative to one another. By assigning em units to your elements, you can change all of their font sizes at once, simply by changing the font size of the elements' root tag. With rem units, you can change all elements' font size by changing the default font size of your root html tag.

These two units come in very handy if you ever need to scale things up or down as your site grows. When to use each is a little tricky, so let's learn a little more on how to use each with the above video.

posted by Kliniskac6