css-pseudo-classes Flashcards
1
Q
What is a pseudo-class?
A
Used to define a special state for an element
2
Q
What are CSS-pseudo-classes useful for?
A
To style an element when a user’s mouse hovers over it, to style visited and unvisited links differently, to style an element when it gets focus, etc.