your ad here

Magnify an image

19th November 2009 - Simplified

25th January 2010 - css3 enhancements added

14th June 2012 - now working on the iPad, iPhone and iPod Touch










copyright © stu nicholls - CSS play

Information

This is an image magnification effect that is similar to the ones produced by javascript.

Just hover your mouse over the thumbnail image to produce a 4x enlarged image. Move your mouse off the thumbnail image to pop-down the enlarged image.

Modified 19th November 2009 to make much simpler and allow several thumbnails to be usedand have the large image display above all of these thumbnails.

Modified 25th January 2010 to add css3 styling to the popup image. Round corners, drop shadow and fade-in for browsers that understand.

Modified 14th June 2012 to add extra styling and a background image to enable the large image to be closed by 'tapping' anywhere on the page when using the iPad, iPhone and iPod Touch.


Copyright

You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.

Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.

If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.



Please Support CSS play

Please note that if your donation is for a demo/menu then you will need to email me with the url of the demo/menu after making the donation

CSS play Recommend

Free, practical CSS menus, layouts, and examples

Follow CSS play


Facebook   Twitter   Facebook Fan Page