I currently have a div containing several static images.
<div class="logos">
<a href="#"><img src="img/logos/imgo.png"></a>
<a href="#"><img src="img/logos/imgo1.png"></a>
<a href="#"><img src="img/logos/imgo2.png"></a>
<a href="#"><img src="img/logos/imgo3.png"></a>
</div>
My goal is to replace an image with another one when hovering over it. How can I achieve this for multiple images?
.logos a:hover img {
content: url('img/logos/another-image.png');
}
If I had just one image, I could use the following CSS:
.logos a:hover img {
content: url('img/logos/another-image.png');
}