C H A P T E R 18
Using the CSS Selectors—Part II
In this chapter, I continue your tour of the CSS selectors and show you the pseudo-classes. As with the pseudo-elements, these are not classes that have been applied to your elements, but a convenience that allows you to select elements based on some common characteristics. Table 18-1 provides the summary for this chapter.
Using the Structural Pseudo-Class Selectors
The structural pseudo-class selectors allow you to select elements based on where they are in the document. These selectors are prefixed ...
Get The Definitive Guide to HTML5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.