"...1rem equals the font size of the html element (which for most browsers has a default value of 16px)."

(As opposed to cascading from the font-size of the containing element, like 1em would)


@deutrino You triggered me to consider how to implement `rem` & `em` upon my Haskell Stylist CSS engine.

`rem` seems easy enough with a seperate styling pass. But I still need to prioritize certain properties to allow for implementing `em`/`currentcolor`/etc.


@alcinnz Cool! I just recently got back into web design and rem is new to me but seems super useful

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!