Skip to main content

CSS Links

Published 1 min readMarkdown
CSS Links

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

No comments yet. Be the first to comment.