I’m preparing pages describing various electronic products I’ve developed. These pages typically have simple graphics embedded within the text. To make the pages responsive, I’ll usually specify each image size as a percent of the available ‘container’ (for example, I may post images with a width of “25%”, and an “auto” height). Here’s an example of such a page, for my SOUNDMAN product….
[url]http://elfintechnologies.com/SoundManIntro.html
Scroll down past the big “introduction” image and you’ll see lots of the simple images I’m describing. So now I’d like to add a feature allowing the visitor to click on (or tap) any of the small graphics and have it gracefully morph into a full page image, and then return to its original position and size when the visitor clicks again.
I’d rather use javascript the CSS for this if possible. Any suggestions?