Hello all,
I see the following usage of CSS and I add my understanding in the end of the rule.
.nav-link:visited, // control any link that has class .nav-link and is visited
.nav-link a:visited // control any a link that is visited and is a child of component with class .nav-link
{
color: #006699;
}
For example, <a class="nav-link" href="#">Join</a>
It seems that I still have to add the following rule in order to make the link look like color #006699 when first load the page
a {
color: #006699;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
Please correct me if I am wrong.
thank you