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!
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
Oscar Mauricio Lancheros Murillo3,608 Points
What are the three main steps the CSS cascade follows to determine which properties get assigned to an element?
Any help please?
Melissa Eaton8,296 Points
I believe the answer is: Inline style, internal style sheet, and external style sheet. Here's a link to more info: w3schools
This is a direct quote from that site:
What style will be used when there is more than one style specified for an HTML element? Generally speaking we can say that all the styles will "cascade" into a new "virtual" style sheet by the following rules, where number three has the highest priority:
External and internal style sheets (in the head section)
Inline style (inside an HTML element)"
The three main steps that the CSS cascade follows to determine which properties get assigned to an element are as follows: importance, specificity, and the source order.
Hope that helps!
thanks... its work...