The :hover selector is used to select elements when you mouse over them. The :hover selector can be used on all elements, not only on links.
Use the :link selector to style links to unvisited pages, the :visited selector to style links to visited pages, and the :active selector to style the active link.
Make a pill-shaped submission button with CSS
Make a new Code Pen and follow along with the demonstration.
Create a responsive navigation menu
Fork this Code Pen to follow along with the demonstration. This finished pen is below.
I extended this project to include a mobile menu icon that displays the menu on hover, check it out here.