Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialericschekel
2,965 PointsNormalize.css which one do I use for future websites?
There are several Normalize.css files on the net. I am not sure what the differences are and which one to use for future websites that I design. I also need to know how often I would need to update it for changes made to the file?
2 Answers
Joan Valls de Padrines Amengual
11,760 PointsJust use the original by Nicolas Gallagher:
Kevin Kenger
32,834 PointsHey Eric,
As far as I'm aware, there's only one Normalize.css out there. At least there's only one worth using, I guess. And that's this one, by Nicolas Gallagher.
There are however multiple reset.css files out there. Those are different from Normalize.css as well as different from each other. There's Eric Meyer's "Reset CSS" 2.0, HTML5 Doctor Reset, and Yahoo's YUI 3 Reset, to name a few of the more popular ones.
Personally, I like using Normalize.css for projects. But if I need a quick reset I'll just use the universal selector in CSS to reset margin and padding:
* {
margin: 0;
padding: 0;
}