Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <style> div { width: 120px; height: 120px; background: #1c87c9; position: relative; animation: delay 5s infinite; animation-delay: 3s; } @keyframes delay { from { left: 0px; } to { left: 300px; } } </style> </head> <body> <h2>Animation-delay example</h2> <p>Here the animation starts after 3 seconds.</p> <div></div> </body> </html>