I trying to make a border appear around the circle button after clicking but the border is a rounded square instead of a circle.
.dot {
height: 20px;
width: 20px;
border-radius: 50%;
display: inline-block;
border: none;
}
.dot:after {
border: solid 1px #232323;
border-radius: 50%;
}
<button class="dot" style="background-color: #cc6c6c;"></button>