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

CSS How to Make a Website CSS: Cascading Style Sheets Use ID Selectors

what when we din not keep normalize.css in css?? is there any effect? sorry for poor english.

what happen when we did not link normalize.css

So when we use normalize.css it will work equally to all whether it is mobile,tabs or desktop. Am I right?

So when we use normalize.css it will work equally to all whether it is mobile,tabs or desktop. Am I right?

1 Answer

Basically, all browsers have their own custom styles. Normalize.css removes these custom styles and inconsistencies so you can be sure your site looks the same across all browsers.

Normalize.css doesn't technically remove the styles from the browsers, it overwrites them.

For example, if Firefox has a 20px margin for h1's and Chrome has a 10px margin for h1's, your normalize file might set all h1's to 15px so we can be sure your site starts off with the same base styling for all users/browsers.