On Interactive Links
Have you ever looked at those blue words and blue underlines? Yeah, same.
It's just a pain to see them in Word documents. How about in websites
made of HTML and CSS? Can we make them more gorgeous and clickbait-y?
Well, you can definitely style your links in CSS. However, you have to
specify a pseudoclass for this, which is :link. This is
placed adjacent to the anchor tag, like a:link. This will
only work for unvisited links. If you want to modify visited links too,
you can also add a:visited.
After specifying the pseudoclasses, set the text-decoration
property under both unvisited and visited links to none to remove the
unwanted underline. Next, change the font color using the color
property to change the blue color of the text.
Taking these a step further, you can add the pseudoclasses :active
and :hover for interactions upon clicking and
hovering, respectively. Adding a transition time will make those
changes smooth.