Figures
- Simple styling of a simple document
- Moving a style from one element to another
- Grouping both selectors and rules
- The result of equivalent style sheets
- Using a class selector
- Using generic and specific selectors to combine styles
- Selecting elements with multiple class names
- Selecting elements based on their attributes
- Selecting elements based on attributes and their values
- Selecting elements based on portions of attribute values
- Selecting elements based on substrings within attribute values
- Selecting elements based on substrings that begin attribute values
- Selecting elements based on substrings that end attribute values
- A document tree structure
- Selecting an element based on its context
- A very specific descendant selector
- Using descendant selectors to apply different styles to the same type of element
- A document tree fragment
- Another document tree fragment
- Selecting adjacent siblings
- Selecting following siblings