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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly