Move multiple backgrounds infinitely using CSS
问题 I have two backgrounds: body { background-image: url(img/nemo.png),url(img/ocean.png); } How do I make nemo.png background move infinitely from left-right but not affecting ocean.png background ? EDIT: When he reaches the right most edge (and the image is no longer visible), he will appear from the left edge again and start doing the drifting from left-to-right. 回答1: This can be done with pure CSS 3, e.g keyframed animations: Demo: http://jsfiddle.net/dghsV/112 body { background-image: url(