jeudi 26 mars 2015

I was wondering how I would make an image appear when I hover over another image

Hi there I was wondering how I would make an image appear when I hover over another one.


I have some code but it just isn't working I think it should be something like this;


CSS-



a bikeq
{
display: none;
}

a:hover bikeq {
display: block;
}


HTML-



<section class="r_img">
<a href=""><img src="img/bike.png" class="bike"></a>
<img src="bikeq_3.png" class="bikeq">
</section>


I fell like I am doing something wrong with the html part but I don't know what else to do.


Any help will be great thanks,


Zack


Aucun commentaire:

Enregistrer un commentaire