.waves { animation: animatedImage 5s linear infinite; } @keyframes animatedImage { 0% { left: 2000px;} 100% { left: -2000px;} }