When do the :hover, :focus, and :active pseudo-classes apply?
Type Web
Created 2018-12-11
Identifier unavailable
Description
When we select an element by its .class or #id, we’re using predefined and unchanging attributes that are baked into the DOM. With pseudo-classes, we can select elements using information that isn’t already in the DOM and can change based on how a user interacts with the page.
Relations
Edit details Edit relations Attach new author Attach new topic Attach new resource
10.0 /10
useless alright awesome
from 1 review
- Resource level 2.0 /10
- beginner intermediate advanced
- Resource clarity 9.0 /10
- hardly clear sometimes unclear perfectly clear
- Reviewer's background 5.0 /10
- none basics intermediate advanced expert