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 trialChase Hefner
1,063 PointsIf 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
Rabin Gharti Magar
Front End Web Development Techdegree Graduate 20,928 PointsHey 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!
Chase Hefner
1,063 PointsChase Hefner
1,063 PointsAwesome, thank you!