Change image size on hover
-
Hi,
After hours of googling I finally succeeded in getting my image to change to another image on hover.
I’d like my second image to appear larger on hover and can’t get the code right. Any suggestions are welcome !
This is my code:
<p>
<img class=”aligncenter size-full”
onmouseover=”this.src=’https://www.cdmc.eu/wp-content/uploads/2015/07/500-1.jpg’ “
onmouseout=”this.src=’https://www.cdmc.eu/wp-content/uploads/2015/07/logo_egatex_150.jpg'”
src=”https://www.cdmc.eu/wp-content/uploads/2015/07/logo_egatex_150.jpg”/>
</p>Thanks in advance !!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Change image size on hover’ is closed to new replies.