Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS Foundations Selectors Using Combinators in Selectors

Lloyd Keogh
Lloyd Keogh
7,252 Points

Descendent vs Tilda Selector

What's the difference between the Tilda selector and Descendant selector in CSS and when would you use one type over the other?

Thanks

1 Answer

James Barnett
James Barnett
39,199 Points

If you prefer a demo ...

Check out http://benhowdle.im/cssselectors/ to see which elements will be selected by the different CSS selectors.

If you prefer a written explanation ...

Check out the 30 CSS selectors you must memorize blog post.

After you check out either (or both) of those great resources ...

Post any questions you've got in this thread and we'll try and clear up those up for you.

Lloyd Keogh
Lloyd Keogh
7,252 Points

Thanks James that's helped a lot!