...Well, today I was going to make a pop-up window.
The task assigned to me by the background php is already very simple for me because I have done it no less than three times. Well, the key is to know the principle of pop-up windows.
Click .youkeli to pop up .youkelogin, click .close1 in the pop-up window to close the pop-up window and return to the page.
Of course the problem I am talking about is not here, but that I gave youkeli to li. As a result, when I clicked the close button, I couldn't close it and kept switching between black and non-black screens. I was speechless.
After trying for a long time, I finally found the reason, so I added the .youkeli class to A. The result was successful and can be closed.
I originally wanted to find an expert to solve it, but later I found out the reason myself.
The summary is that the li click effect is always so bad. In addition, the href should be ###, a dead link, not #, which jumps to the top, so this is also a detail.