CSS3/Selectors
< CSS
Type Selector
Universal Selector
Attribute Selector
- [attributename]
- [attributename="val"]
- [attributename~="val"]
- [attributename|="val"]
- [attributename^="val"]
- [attributename$="val"]
- [attributename*="val"]
Class Selector
ID Selector
Pseudo-classes
Dynamic pseudo-classes
The target pseudo-class
The language pseudo-class
The UI element states pseudo-classes
Structural pseudo-classes
- :root
- :nth-child
- :nth-last-child
- :nth-of-type
- :nth-last-of-type
- :first-child
- :last-child
- :first-of-type
- :last-of-type
- :only-child
- :only-of-type
- :empty