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 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!