Element positioning in floating frame

Overview

In the web, the feature of the floating box is that when the mouse is detected, the floating box event occurs. When the mouse exits, the floating box disappears on the page. At this time, if other elements are still positioned, the elements in the floating frame cannot be positioned smoothly.

solution

Step 1: Press F12 to enter the developer mode.
Step 2: Click Sources.
Step 3: Enter the mouse, trigger the floating box to pop up, and then stop the mouse without moving.
Step 4: Press F8 or (Ctrl+\) or click the position shown in the figure below. Under normal circumstances, the Paused in debugger prompt (as shown in the figure below) will appear at the top and middle of the page. At this time, you can move the mouse arbitrarily and you will find The floating frame will not disappear.

Insert picture description here

Guess you like

Origin blog.csdn.net/Mwyldnje2003/article/details/114240460