CSSĀ Links

CSSĀ Links

Ā·

1 min read

CSS Links

The four links states are:

  • a:link - a normal, unvisited link

  • a:visited - a link the user has visited

  • a:hover - a link when the user mouses over it

  • a:active - a link the moment it is clicked

  • Text DecorationšŸ‘‡

The text-decoration property is mostly used to remove underlines from links:

Background ColoršŸ‘‡

The background-color property can be used to specify a background color for links:

Link ButtonsšŸ‘‡

This example demonstrates a more advanced example where we combine several CSS properties to display links as boxes/buttons:


image.png

\> Download our HTML & CSS Visual Treat! ebook Here: Click here

Ā