CSS: Pseudo Class
What is Pseudo-Class
Pseudo-Class means the state of an element, such as in-focus, mouse hovering, clicked, checkbox checked, empty content, language spec, first child, etc.
The idea is like a fake Class Attribute to indicate state.
Example
a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { background-color: pink; }
List of Pseudo-Class Selectors
CSS, pseudo-element and pseudo-class
CSS, misc, advanced
- CSS: @media query (responsive design)
- CSS: Variable (Custom Property)
- CSS: calc
- CSS: Reset, Default Values
- CSS: global keywords (property values)
- CSS: nesting selector (ampersand &)
- CSS: Computed Style
- CSS: Browser Default Style Sheet (2025-12)