I am facing an issue with a CSS code snippet that changes the cursor when hovering, but does not change the color as expected. Can someone help me understand why the cursor changes but not the color?
.fa-star-o:hover {
cursor: pointer;
color: red;
}
Below is an example of some HTML code that resembles something like this
<div <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0d6469304d4062696861235d7f626b64616844606c6a687e23486168606863794c79">[email protected]</a>(i).BandyProfileImageId class="item profile-image-item">
<img style="position: relative; left: 0; top: 0;" src="data:image/jpg;base64, @(Html.Raw(Convert.ToBase64String(Model.ProfileImages.ElementAt(i).ImageThumbnailCropped)))" alt="no profile images">
<i style="z-index: 200; position: absolute; top: 5px; right: 5px; color: whitesmoke;" class="fa fa-trash-o fa-2x trashImage"></i>
<i style="z-index: 200; position: absolute; top: 5px; right: 35px; color: yellow;" class="fa fa-star-o fa-2x"></i>
</div>