Bild bewegt sich automatisch von links nach rechts und zurück

Dreher
Quellcode
<html>
<head>

<style>
#img {position: absolute;animation: moveImage 10s linear infinite;left: -250px;}
@keyframes moveImage {100% { transform: translateX(calc(100vw + 500px)); } }
</style>
<head>

<body >
<marquee behavior="alternate"><img src="../Bilder/w-sorb.png" width="200px" height="auto" alt="Dreher" /></marquee>
</body>

</html>