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

If you link to more than one stylesheet, which one takes precedence?

For example, if you had two stylesheets linked to your html document, which one would take precedence if you had overlapping styles?

1 Answer

Hey Chase Hefner,

The last one will always take the precedence.

Check out this link I found on Stack Overflow for more information: https://stackoverflow.com/questions/16913131/can-one-css-file-take-priority-over-another-css-file

Happy Coding!

Awesome, thank you!