Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Change body font-size without losing YUI %-based sizing? #723
In a project I'm working on, we are using H5BP. The designer wants the base font-size on the page to be 12px. Using YUI's %'s that H5BP implements, I assumed I would go into the style.css down to primary styles and simply add:
But this increased the font size.... Chrome dev tools calculates it at 15px. Why isn't it 12%?
Next, I assumed I probably just needed to add it to the right place or alter the proper value higher up in the CSS. Up under the base section, I could just change the
I'm probably just misunderstanding how to use this aspect of the css, but is it possible to change the base body font size without breaking the YUI %-based sizing scheme?
Does everything have to be wrapped in a div that has the