企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## css ~~~ #out{ widows: 100px; height: 100px; background: black; transition: all 1s; } #out:hover{ animation:dong 1s ease-in-out 0s 1 normal; -moz-animation:dong 1s ease-in-out 0s 1 normal; -webkit-animation:dong 1s ease-in-out 0s 1 normal; -o-animation:dong 1s ease-in-out 0s 1 normal; } @keyframes dong{ 0%{ transform: rotate(20deg); } 30%{ transform: rotate(-20deg) } 70%{ transform: rotate(20deg) } 100%{ transform: rotate(-20deg) } } ~~~ * * * * * ## html ~~~ <div id="out"> </div> ~~~