Font Size Idea: px at the Root, rem for Components, em for Text Elements

Published: April 8, 2014
Excerpt: “Me, for the last year or so: “rem’s are so cool! I’m gonna size everything with them, that way I can adjust the font-size on the root element and everything will scale with it!” It was a nice dream. And it wasn’t a disaster. That’s what I’m doing right now here on CSS-Tricks and this is how it plays out in a very simple scenario:”

Tagged with: , ,
Posted in CSS