Beginning CSS3 pp 301-321 | Cite as

Using Advanced Selectors

  • David Powers


Chapter 2 introduced you to the 16 most commonly used selectors. Along the way, you’ve also been introduced to two more: the :first-child pseudo-class and the child selector. In this chapter, it’s time to get up to speed with the remaining CSS3 selectors. There are another 24 in the CSS3 Selectors module, and even more have already been proposed for CSS4. You might be wondering why so many selectors are needed.


Form Element Background Color Attribute Selector Input Field Green Background 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© David Powers 2012

Authors and Affiliations

  • David Powers

There are no affiliations available

Personalised recommendations