W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
offset 属性
在这里,使用了 offset 简写属性来设置 offset-path(偏移路径)和 offset-rotate(偏移旋转)的属性值。动画的路径已设定,并且鱼以恒定的 45 度角进行旋转。