Saites stāvokļi link un visited CSS
Bieži vien stāvokļus :link un :visited
apvieno kopā ar komatu:
cssa:link, a:visited {
color: red;
}
a:hover {
text-decoration: none;
}
a:active {
color: blue;
}html<a href="#">saites</a>
Результат:
Šādā gadījumā tos pat var nemaz norādīt:
cssa {
color: red;
}
a:hover {
text-decoration: none;
}
a:active {
color: blue;
}html<a href="#">saites</a>
Результат: