.foo { } Programmatically, is: if (element has a class name of "foo") { } Descendent selectors are && logic and commas are ||. It just gets more