View Single Post
Old 06-14-2012, 11:24 PM   PM User | #1
Suresure
New to the CF scene

 
Join Date: Jun 2012
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Suresure is an unknown quantity at this point
Scale up images onclick

I'm cluelessly trying to piece together a personal site, I’ve hunted around and can’t find this covered on here... I think it used to be bad practice to resize an image with code but SVG files render beautifully at any scale and I’d like to try this out:

I’d like to have a series of images, each one doubling in scale when clicked then returning to its original size when clicked a second time.

Could I use transform: scale(2) somewhere in there to make it extra streamlined?

Thanks for reading!
Suresure is offline   Reply With Quote