运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> #myDIV { width: 300px; height: 200px; border: 1px solid black; animation: mymove 5s infinite; } @keyframes mymove { 50% {border: 15px solid lightblue;} } </style> </head> <body> <h1>Animation of border</h1> <p>Gradually change the border property:<p> <div id="myDIV"></div> <p>The border property is a shorthand property for all border properties.</p> <p>See individual border properties to see which is <em>animatable</em>.</p> </body> </html>