Appendix B. CSS 2.1 Annotated Reference

In this reference, you'll find information about the selectors and properties available for use in CSS 2.1. Selectors are defined and described, an example is provided, and usage tips are offered. For properties, each property is first defined and described, with its media classification given. This is followed by an example and helpful usage tips.

Selectors, Pseudo Classes, and Pseudo Elements

The following selector types, pseudo classes, and pseudo elements are available for use in CSS 2.1.

______________________________________________________________________

Selector: Adjacent sibling selector

Description: Selects an adjacent sibling (one that is directly adjacent to the first defined selector ...

Get Spring Into HTML and CSS 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.