Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个左右移动的红色方块。然后它停止了,我如何让它一直持续到我离开网页?
添加属性infinite
infinite
例如
-webkit-animation: NAME-OF-ANIMATION 10s linear infinite;
看这个例子