Seeking assistance on how to change my mascot image to a pixelated image when hovered over. Any tips or advice would be appreciated!
Here is the CSS I'm currently using:
.mascot {
display: block;
margin-left: auto;
margin-right: auto;
width: 15vw;
border-radius: 11vw;
}
.pixel {
display: none;
margin-left: auto;
margin-right: auto;
width: 15vw;
border-radius: 11vw;
}
And here's the HTML markup I have:
<div class="hoverimg">
<img class="mascot" src="mascot.png" alt="">
<img src="download.png" alt="" class="pixel">
</div>