Since you think you are using 50%, but you didn’t do it, you used it border-radius: 50px;, but it’s wrong, you use borderof 4px, which you forgot to add to the window size of your element (If you know how the CSS window model really works).
, border-radius: 54px; , height width 108px .
50%
#circle {
width: 100px;
height: 100px;
background: red;
border-radius: 50%;
border:4px solid blue;
}
50px, box-sizing: border-box;
box-sizing: border-box;
( )