CSS-PSEUDO-CLASSES Flashcards
1
Q
What is a pseudo-class?
A
A CSS pseudo-class is a keyword added to a selector that specifies a special state of the selected element(s).
2
Q
What are CSS pseudo-classes useful for?
A
Pseudo-classes allow you to change the appearance of elements when a user is interacting with them, and are used to add styles to selectors, but only when those selectors meet certain conditions.