I’m doing a Image Gallery such as Wes Bos tutorial but doing almost all in my way, changing the CSS, and HTML. But It’s a little bit difficult archive some functionalitys. For example:
I can’t display the button “x” (close) when the image is fully display. I don’t know what is happening.
I don’t know why image number 6 (and others) don’t fully display when every image and div has the same properties.
Can’t imagine better CSS Class name (I accept advice and suggestions).
First of all, the button has display: none, so you don’t show it. Then, you can add a z-index to show your button. You also have to add a small addition, you can find a solution here.