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

How to use VUE and Canvas to implement a Thunder Fighter typing game

Today we are going to implement a Thunder Fighter...

Detailed explanation of Excel parsing and exporting based on Vue

Table of contents Preface Basic Introduction Code...

The difference between char and varchar in MYSQL

CHAR and VARCHAR types are similar, differing pri...

Summary of commonly used tags in HTML (must read)

Content Detail Tags: <h1>~<h6>Title T...

How to modify the default network segment of Docker0 bridge in Docker

1. Background When the Docker service is started,...

Detailed explanation of JS memory space

Table of contents Overview 1. Stack and Heap 2. V...

Install Apple Mac OS X in VMWare12 Graphic Tutorial

1. Introduction: Because my friend wanted to lear...

CSS setting div background image implementation code

Adding background image control to a component re...

Example of configuring multiple SSL certificates for a single Nginx IP address

By default, Nginx supports only one SSL certifica...

Write a dynamic clock on a web page in HTML

Use HTML to write a dynamic web clock. The code i...

Solution to Django's inability to access static resources with uwsgi+nginx proxy

When deploying uwsgi+nginx proxy Django, access u...

How to deploy FastDFS in Docker

Install fastdfs on Docker Mount directory -v /e/f...

Apply provide and inject to refresh Vue page method

Table of contents Method 1: Call the function dir...