문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top