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 trialGavin Broekema
Full Stack JavaScript Techdegree Student 22,443 PointsOrder of CSS properties?
This question just pertains to writing clean CSS in general, so I won't provide any source code.
So I'm under the assumption that when writing CSS, it is common to define styles based on the order they appear in the mark-up... But how should the order of selectors be influenced by multiple selectors being grouped into one rule?
I'm more-less just looking for tips on how to stay organized while defining numerous CSS rules.
1 Answer
Sandro Das Neves
Front End Web Development Techdegree Graduate 23,426 Pointsthe order doesn't matter i suggest you to break Line after the colon of each selector.