ClickStart logo CSS to the point

Zooming an image on hover

If you wrap a link around an image, you can use the link’s hover pseudo class to change the image’s width and height.

Code

CSS

a:hover img { width: 800px; height: 400px; }

Usage

<a href="javascript:void(0);"><img src="clickstart.jpg" /></a>

Example

Click here to see an example.