Question · JavaScript and React course · Module 7: Styling and Animations
CSS :hover Pseudo-class
What does the :hover pseudo-class do in CSS?
Answer options
- Applies styles when the mouse cursor is over the element
- Adds an entry animation to the component
- Changes the element position to fixed
- Automatically centers the element on the page
You can check the correct answer by solving this task in the CodeWorlds game.