Today I encountered a very strange li a click problem and solved it myself

Today I encountered a very strange li a click problem and solved it myself
...It's like this, today I was going to make a pop-up window,

The task assigned to me by the backend PHP is already very simple for me for such a problem, because I have done it no less than three times. 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 it and return to the page.

Of course, the problem I'm talking about is not here, but that I gave youkeli to li, and when I clicked the close button, it couldn't be closed 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 it could be closed.

I originally wanted to find an expert to solve it, but later I found the reason myself.

To sum up, the click effect of li is always so poor. In addition, the href should be followed by ###, a dead link, instead of #, which jumps to the top, so this is also a detail.

<<:  Build Maven projects faster in Docker

>>:  Share 13 excellent web wireframe design and production tools

Recommend

MySQL query optimization using custom variables

Table of contents Optimizing sorting queries Avoi...

MySQL 4 methods to import data

1. Import mysql command The mysql command import ...

Nginx builds rtmp live server implementation code

1. Create a new rtmp directory in the nginx sourc...

Web Design Experience: Efficiently Writing Web Code

Originally, this seventh chapter should be a deep ...

Analyze the difference between computed and watch in Vue

Table of contents 1. Introduction to computed 1.1...

Some methods to optimize query speed when MySQL processes massive data

In the actual projects I participated in, I found...

Detailed explanation of CSS style sheets and format layout

Style Sheets CSS (Cascading Style Sheets) is used...

Detailed description of ffmpeg Chinese parameters

FFMPEG 3.4.1 version parameter details Usage: ffm...

Detailed explanation of how Zabbix monitors the master-slave status of MySQL

After setting up the MySQL master-slave, you ofte...

Introduction to Linux system swap space

Swap space is a common aspect of computing today,...

Mount the disk in a directory under Ubuntu 18.04

Introduction This article records how to mount a ...

Vue implements pull-down to load more

Developers familiar with Element-UI may have had ...