运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> #myDIV { background-color: lightblue; border: 1px solid black; animation: mymove 5s infinite; } @keyframes mymove { 50% {padding-inline-start: 40%;} } </style> </head> <body> <h1>Animation of padding-inline-start</h1> <p>Gradually change the padding-inline-start from 0% to 40%, and back to 0%:<p> <div id="myDIV"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat... </div> </body> </html>