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 Sass Basics Improve Your Workflow with Sass Nested Selectors

What does it mean to be at the root level?

I understand the root level of a html document to mean the document itself the html tag, however within CSS what does that mean? I have some assumptions, but I need to understand the language so things are fully understood. Any help and links would be greatly appreciated.

2 Answers

Steven Parker
Steven Parker
231,198 Points

Generally, the "root" level of anything will just be the "main" level. Just like HTML elements are nested, and the outermost one is the "root"; sass gives CSS nesting ability and so the "root" would be the outermost (or not nested) level.

Crystal clear. Thank you.