javascript - Chrome triggers the click event to select the text next to it
怪我咯
怪我咯 2017-05-18 10:50:08
0
2
961

As shown in the picture, if you need to make a selection effect, just click on the box toggleclass to change the style. It turns out that if you click the mouse quickly, the text next to it will be selected. The language description is not clear, so let’s look at the picture:

Just click on part of the frame to change the background, but if you click quickly, the one next to it will also be selected

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
Ty80

You need to post your code so that you can clearly know how to click to trigger it

给我你的怀抱
user-select:none你给他加上这个样式你试试
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template