執行 ❯
建立您
自己的
網站
×
更改方向
儲存程式碼
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> #myDIV { width: 100px; height: 100px; background-color: coral; color: green; animation: mymove 5s infinite; clip-path: circle(50%); } @keyframes mymove { 50% {clip-path: circle(20%);} } </style> </head> <body> <h1>Animation of clip-path</h1> <div id="myDIV"> <h1>myDIV</h1> </div> </body> </html>