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 CSS Basics (2014) Getting Started with CSS External Style Sheets

More than one linked stylesheets?

In the video towards the end Guil states "I'll usually try to keep it at one or two linked stylesheets." My question is: why would you ever need to link up more than one external stylesheet to your html file? Wouldn't they over-right each other?

1 Answer

Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,735 Points

One might overwrite the other, but you might have reasons to keep them separate. Or one might be to a stylesheet you have control over, and another one that you don't. For example, lets say you wanted to use bootstrap. You could have one link tag to fetch the bootstrap styles, and another link to your own personal styles, some of which might customize and override bootstrap's base styles.

Oh okay I haven't learned bootstrap yet but that makes sense, Perfect thank you.