Is it possible to create a hover effect where the first span shows image number 1, and when another span is hovered over, it hides the first image and displays a different one? Below is an example of what I have so far:
<div class="overlays">
<a href="#" class="overlays-a clearfix">
<img class="overlays-img" src="./pic/1.jpg">
<img class="overlays-img hidden" src="./pic/2.jpg">
<img class="overlays-img hidden" src="./pic/3.jpg">
<img class="overlays-img hidden" src="./pic/4.jpg">
<img class="overlays-img hidden" src="./pic/5.jpg">
<span>1</span>
<span>2</span>
<span>3</span>
<span>4</span>
<span class="last-span">5</span>
</a>
</div>