Sometimes, we want to change link color of the current page with CSS.
In this article, how to change link color of the current page with CSS, we will look at.
How to change link color of the current page with CSS?
We set the color
and background-color
properties, to change link color of the page with CSS.
For instance, we can write
.currentLink {
color: #640200;
background-color: #000000;
}
to set the text color of the link with the currentLink
class to #640200.
And we set the background color to #000000.
Conclusion
Finally, we set the color
and background-color
properties, to change link color of the current page with CSS.