In a project, you need to create a navigation menu that changes its appearance on hover. Which CSS feature would you utilize for this effect?

  • :hover pseudo-class
  • Animation
  • Flexbox
  • Transition
The :hover pseudo-class in CSS is used to apply styles when an element is being hovered. It's commonly used for creating interactive effects like changing the appearance of a navigation menu on hover.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *