current position:Home>JQ magnifying glass effect picture flicker what's going on

JQ magnifying glass effect picture flicker what's going on

2022-02-03 02:39:51 CSDN Q & A

#jq Magnifier

img


Place the mouse on the left The picture on the right will always flash




Refer to the answer 1:

Yes , mask mask Will obscure the following elements , Make the following elements unable to trigger mouse events
add pointer-events: none Is to let the mouse event pass through the mask layer mask, Let the following elements trigger mouse events




Refer to the answer 2:



Refer to the answer 3:

img


Just saw a big man's article , In mask layer mask Of css Add the last line of code to solve the flicker problem




Refer to the answer 4:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202030239494239.html

Random recommended