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>Exemple de animation-delay</h2> <p>Ici, l'animation commence dans 3 secondes.</p> <div></div> </body> </html>