Taufik Hizet
Taufik Hizet

Reputation: 31

How do I prevent the color of the link from turning blue when clicked?

im use tailwind css in next js.

<a href="#" className="active:bg-none  hover:bg-transparent focus:bg-transparent visited:bg-transparent">link</a>

and even in css i've added this

a:focus, a:active, a:visited {border: none; outline: none; text-decoration: none; background-color: transparent; background: transparent; }

Upvotes: 2

Views: 1833

Answers (1)

Eduardo Po&#231;o
Eduardo Po&#231;o

Reputation: 3089

Add the following css rule:

a {
    color: rgb(0, 102, 204);
}

Upvotes: 4

Related Questions