I’m having a problem with my personal project code I added an icon from an external library google fonts and in my html it looks like this
My html
<li>
<a href="#" class="nav-color">
<span class="search-container">
<i class="material-symbols-outlined material-icon">search</i>
</span>
Search`
This is everything that defines the icon
Now my CSS styles
.material-symbols-outlines{
margin-top:5px;
position:relative;
top:3.6px; /*top Moves the element downward from its normal position.*/
bottom:0px; /* Moves the element upward from its normal position*/
right:0px; /* Moves the element right from its normal position*/
left:0px; /* Moves the element to the left from its normal position*/
}
If i were to adjust any of the top bottom right left properties it doesnt move can anyone help with this problem