Reset or Normalize CSS

Over the years they has been many attempts at stripping away or “resetting” the default CSS a browser applies. We do this in order to give ourselves a consistent base from which to style. Initial efforts were simple but heavy handed performance-wise.

Universal Selector Reset

[crayon]

* { margin: 0; padding: 0; }

[/crayon]

Eric Meyer’s Reset

This was an industry standard for years and is still used widely today. You can grab the code here…http://meyerweb.com/eric/tools/css/reset/

Normalize.css

Rather than stripping away everything and starting from scratch normalize.css attempts to keep the useful defaults and “normalize” the rest. View the code here… https://raw.github.com/necolas/normalize.css/master/normalize.css

We’ll use Normalize.css for our projects.

Other Approaches