CSS image gallery with jQuery

Last variation on the theme: an image gallery with CSS and jQuery. In this example, the main role is played by CSS because it actually creates the final effect of a gallery set on multiple layers. The effect in itself is not very complicated: it's only a matter of adding some vertical padding to the images placed on both sides. jQuery, instead, could be further enhanced by using some plugin (like Cycle, for instance). One thing to note is that everything is set in percentages. This is quite a challenge with CSS but it actually allows us to get the maximum flexibility required for this purpose.

Leave a Reply

Note: Only a member of this blog may post a comment.