Учу html и задался вопросом: почему блок при нажатии не меняет цвет если задан псевдоелемент visited?
.body {
background-color: darkslategray;
}
.circle2 {
background-color: darkgray;
border-radius: 50%;
position: absolute;
width: 50px;
height: 50px;
top: 50px;
left: 40px;
box-shadow: 4px brown;
}
.circle2 a {
border-radius: 50%;
display: block;
height: 100%;
}
.circle2 a:visited {
background-color: brown;
transition: 700ms;
}
<body>
<div class="circle2">
<a href="#"></a>
</div>
</body>