muki
muki

Reputation: 87

can't click close tage when use CSS3 lightbox

I try to learn write a pure CSS lightbox, but when I click the button, I can't click the close tag, the position will return top:0 / left:0.

here is my code sample

Upvotes: 0

Views: 48

Answers (1)

crafter
crafter

Reputation: 329

In

a:hover{
    /* Remove positin:relative.  Line no: 39  */

}

The close button will align to left of the box, you've to make align to right if you want to

Upvotes: 1

Related Questions