The "rem" unit in CSS - relative font sizes

Published: 09 January 2019
on channel: dcode
9,348
141

A follow up to my previous video on the "em" relative CSS unit, this one is going to be about it's useful counterpart, the "rem" unit. This unit is used to specify font sizes relative the root (HTML) font size.

This is especially useful for development, making it easy to change the font size of your entire website with a single code change.

Support me on Patreon:
  / dcode   - with enough funding I plan to develop a website of some sort with a new developer experience!

For your reference, check this out:
https://developer.mozilla.org/en-US/d...

Follow me on Twitter @dcode!

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!