I have put together the following html snippet: http://jsfiddle.net/4gDMK/ Everything is working smoothly, but I am struggling to figure out how to simultaneously move both the captions and the image upwards so that the entire image is no longer visible.
Below is the basic html code:
<figure>
<img src="http://4.bp.blogspot.com/_1vc-O2P4PHQ/S1bI97AgDoI/AAAAAAAACxs/MOo533hzeSw/s200/technical_stockphoto2.jpg" alt="Stockphoto 1" />
<figcaption>Caption text</figcaption>
</figure>
For reference, check out this website for an example: On certain blocks, you can click, which then reveals the caption and moves the image upwards. This is what I am aiming for, but on hover instead of click.
If anyone has insight on how to achieve this effect, please let me know!
Best regards