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 trialLindsay Sánchez
480 PointsDoes it matter what order you list the css properties within the curly brackets?
Maybe my mind is still just stuck on the cascading concept...
1 Answer
Hugo Paz
15,622 PointsHi Lindsay,
Inside the curly brackets it does not matter the order you list the properties unless you are using vendor specific rules (-webkit, -o, -moz), where you put the prefixed ones first and the unprefixed last.
The prefixed one is the "experimental" property - the implementation may contain deviations from the specification.
It's preferable to have the "W3C implementation" used when it's available, to help ensure consistency between all the browsers that support it.
Lindsay Sánchez
480 PointsLindsay Sánchez
480 PointsAwesome, thanks for the thorough response Hugo!