Follow

"...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)

sitepoint.com/understanding-an

@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
Mastodon

mstdn.io is one of the instance in the fediverse. We're an open-minded generalistic instance. Learn more here!