I created bunch of circles with plain HTML and CSS, but it seems to me that not all of them are equal. To be honest, some of them look more like ellipses to me. Is there something wrong with my eyesight or there is some brower's limitation that I'm unaware of?
Here is the code that I used to reproduce the problem, as well as the image of the result (Chrome used for it).
body {
background-color: whitesmoke;
box-sizing: border-box;
}
.circle {
position: relative;
display: inline-block;
width: 14px;
height: 14px;
margin: 10px;
border-radius: 7px;
background-color: brown;
transition: 150ms border linear;
cursor: pointer;
}
.circle::after {
position: absolute;
top: -6px;
left: -6px;
width: 24px;
height: 24px;
background-color: transparent;
border-radius: 12px;
border: 1px solid whitesmoke;
transition: 150ms all linear;
content: '';
}
.circle:hover::after {
border-color: brown;
}
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
Update: None of the answers actually solved the issue for me. Issue was browser related and I cannot reproduce it any longer.
border-radius: 50%;
insteadwhitesmoke
circle on awhitesmoke
background ?)