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 trialja5on
10,338 PointsWith normalize, why to tell padding: 0; why not do that in a normal css file?
With normalize, why to tell padding: 0; why not do that in a normal css file?
3 Answers
Chris Adams
Front End Web Development Techdegree Graduate 29,423 PointsYour normalize will target the styles that need standardization across browsers. So, lots of styles are "reset" using this file, including padding. You can reassign your preferred styles in your styles.css file after normalize has reset it.
ja5on
10,338 PointsOh yes i'm confusing the two, :-( thanks :-)
William Mead
9,937 PointsI agree with jaSon. It seems that adding your own styles in the normalize.css file amounts to a fork of the file. If you ever want to update the file with a new version, you would lose these changes. It seems like a better idea to keep your own personal resets at the top of your own stylesheet.