I'm trying to make image two appear below image one when a mouse hovers over image one.
<ul>
<li>
<img id="img1" src="imageone.png">
<br>
<img id="img2" src="imagetwo.png">
</li>
</ul>
Help is appreciated!
So far I have this CSS which does not seem to work
#img2 {
display: none;
position: absolute;
}
#img1:hover + #img2,
#img2:hover {
display:block;
}