运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> div.ex1 { pointer-events: none; } div.ex2 { pointer-events: auto; } </style> </head> <body> <h1>The pointer-events Property</h1> <p>Move over the links below to see if the react on pointer events.</p> <h2>pointer-events: none:</h2> <div class="ex1">Go to <a href="https://w3schools.org.cn/html">HTML Tutorial</a></div> <h2>pointer-events: auto (default):</h2> <div class="ex2">Go to <a href="https://w3schools.org.cn/css">CSS Tutorial</a></div> </body> </html>