Grow your CSS skills. Land your dream job.

image gallery with content overlay when clicked. no lightbox

  • # January 30, 2013 at 7:12 am

    I have a gallery of images, that i want to work with a javascript function which will display an overlay with text and content when an image is clicked in front of the of the gallery div

    i found a similar discussion on the forum [Here](http://css-tricks.com/forums/discussion/15796/text-overlay/p1 “Here”)

    this is the code i’m using [On codepen](http://codepen.io/user2015864/pen/iFqCE “overlay “)

    My question is why won’t the overlay stay in place and if it’s possible to have this work in a div constrained by width and height

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".