我想要将图片从左侧动画到右侧。
#pot{
position:absolute;
-webkit-animation:linear infinite;
-webkit-animation-name: run;
-webkit-animation-duration: 5s;
}
@-webkit-keyframes run {
0% { left: 0%;}
100%{ left : 100%;}
}
<div id = "pot">
<img src = "https://istack.dev59.com/qgNyF.webp?s=328&g=1"width = "100px" height ="100px">
</div>