reset.css versus normalize.css
This has been a topic of debate for a long time now. Some popular frameworks and libraries favor reset.css
, like Compass does, while others favor normalize.css
, such as Twitter Bootstrap, ZURB Foundation, and HTML5 Boilerplate. I myself prefer normalize.css
. As I mentioned in Chapter 3, Compass – Navigating with Compass, I simply find reset.css
to be overly aggressive and (perhaps) lazy in its approach. However, normalize.css
is not perfect either. Let me start by explaining the differences.
reset.css
reset.css
was created by Eric Meyer in 2008. It removes all browser styles across the board. All margins, padding, and borders are set to 0. Font-sizes are set to 100% and line-heights are set to 1. Blockquote, pre, ...
Get Mastering Sass now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.