Co wpisać zamiast 100 powtorzeń ?
<!DOCTYPE html> <html> <head> <style> div { width: 300px; height: 300px; background: white; position: relative; animation: myfirst 5s 100; animation-direction: alternate; } @keyframes myfirst { 0% { left: 10px; top: 10px; transform: scale(0.5); background-image: url("telefon.png");} 50% { left: 10px; top: 10px;transform: scale(0.7);background-image: url("telefon.png");} 100% { left: 10px; top: 10px;transform: scale(0.5);background-image: url("telefon.png");} } </style> </head> <body> <div></div> </body> </html>