css disable click event

When encountering a blocking click event, it was usually controlled by js to block the event in the past. Today, I saw that adding a style to css can block it, so let’s record it.

.test { pointer-events: none; }

Guess you like

Origin blog.csdn.net/wsdshdhdhd/article/details/130527238