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

Aditya Raj
Aditya Raj
715 Points

from where do i get the normalise.css file? and what does it do?

HTML and CSS

3 Answers

rydavim
rydavim
18,813 Points

There are several popular css files used to normalize or reset styles across browsers. You can find the one I think you're talking about here. Personally, I'm partial to a complete reset, which you can find here.

There may also be a download link at the bottom of the video you're watching.

Happy coding!

Thomas Brun
seal-mask
.a{fill-rule:evenodd;}techdegree
Thomas Brun
Front End Web Development Techdegree Student 5,896 Points

Hi,

You can download normalize.css from here: https://github.com/necolas/normalize.css.

It is generally linked to in your HTML before any other CSS sheets, as seen below, since its aim is to provide better cross-browser consistency by applying default styling to many HTML elements.

<link rel="stylesheet" href="css/normalize.css">

Hope it helps!

All browsers have slightly different default styles. normalize.css is a set of styles designed to replace some of the defaults so that a way page will look more consistent across most browsers without the developer having to hand set everything.

While you do not need to use a CSS normalize or reset, it is a best practice and helps make styling webpages more faster and predictable :)