There’s more to the CSS rem unit than font sizing
Many web designers and developers are familiar with the CSS
rem
length unit. But, you may not know that it has a couple of handy alternate uses. In this post, I’ll describe how to use the CSS rem
unit to scale specific page elements while leaving others unaffected. I’ll also discuss how to use it as a replacement for the under-supported vw
(viewporth width) unit.