"rem" is "hem"
For anyone else who has ever felt a moment of uncertainty over whether the font size which defines the rem is on the html tag or the body tag, rem is html's em.
"rem is hem."
It isn't a Bug Eyed Monster.
Also the "root" seems easier to remember in JavaScript:
"rem is hem."
It isn't a Bug Eyed Monster.
Also the "root" seems easier to remember in JavaScript:
Document.documentElement
returns the Element
that is the root element of the document
(for example, the <html>
element for HTML documents).
Comments
Post a Comment