I am trying to make a website and I'm on the footer. I want to make a follow us feature at the bottom of the page, and I want the logos to turn green when I hover over them. But for some reason, when I do so, it doesn't do anything. Here is the extracted code:
<div class="footer">
<footer>
<h2>Follow Us</h2>
<a href="https://facebook.com"><img src="img/facebook.svg" alt="facebook" class="facebook"></a>
</footer>
</div>
.facebook{
width: 2%;
}
.facebook:hover{
color: var(--aa-color);
}