Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 7
    The first selects the element which has both classes. The latter select an element which has the class class which has a parent which has the class class
    – PeeHaa
    Commented Jun 30, 2013 at 14:30
  • 2
    In order to make everything more understandable I think it would be better to distinguish the classes in class1 and class2
    – Davide
    Commented Jul 22, 2019 at 14:01