CSS Pseudo Classes Flashcards

1
Q

What is a pseudo-class?

A
A pseudo-class is a type of selector for an element that changes how elements appear when a user interacts with the element
ex: when a user would hover over an element, it may change color
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

They are useful for indicating when a user would interact with elements

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