執行 ❯
建立您
自己的
網站
×
更改方向
儲存程式碼
更改主題,深色/淺色
前往 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.tw/html">HTML Tutorial</a></div> <h2>pointer-events: auto (default):</h2> <div class="ex2">Go to <a href="https://w3schools.tw/css">CSS Tutorial</a></div> </body> </html>