I can't understand why when i add border to this element, the element isn't at the center of the border
My css :
.arrow
{
font-size: 25px;
color: #f9f9f9;
position: absolute;
top: 50%;
transform: translateY(-50%);
border-radius: 50%;
border: 1px solid #f9f9f9;
height: 50px;
width: 50px;
text-align: center;
margin: 0 auto;
}
My html :
<span id="slide_left" class="arrow"><i class="fas fa-chevron-left"></i></span>
I just want to have the element at the center of this border !
If someone knows why ? :)