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

HTML How to Make a Website Customizing Colors and Fonts Pick Fonts and Set Relative Units

Rasbin Rijal
PLUS
Rasbin Rijal
Courses Plus Student 10,864 Points

What type of styles should we keep inside normalize.css?

What type of styles should we keep inside normalize.css? Is normalize.css name generally used by web designers?

1 Answer

Steven Parker
Steven Parker
229,644 Points

The purpose for a normalizing stylesheet is to minimize rendering differences between browser vendors and versions. It would generally target only the styles used by your documents that need normalizing for consistent appearance.

The name normalize.css is the accepted convention for a file that performs this function.

Instead of maintaining a custom one of your own, your needs might possibly be met by a publicly available one intended for general purpose use. One source of these is Google, theirs can be included with this line:

<link rel="stylesheet" src="//normalize-css.googlecode.com/svn/trunk/normalize.css" />