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 trial
Christie Balistrieri
820 PointsMain.css vs. normalize.css
What is the difference between main.css and normalize.css? Do you always use both?
3 Answers
Hugo Paz
15,622 PointsHi Christie,
normalize.css makes browsers render all elements more consistently and in line with modern standards. Different browsers render certain elements in different ways and when you are developing a web page you want it to be consistent across all browsers.
main.css is where you usually put the css you create for your web pages.
Christie Balistrieri
820 PointsSo if you were scaling back for IE8 would you put that code in normalize.css? Is this where you can specify degradation?
Hugo Paz
15,622 PointsI would not place it in normalize.css. Any changes I would need to do to accommodate IE8 would be saved in a specific file. There are more options though, this is a good article on the subject.
Christie Balistrieri
820 PointsThanks Hugo, super helpful!