Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <style> div { width: 120px; height: 120px; background: #8ebf42; position: relative; animation: delay 5s 1; animation-delay: 200ms; } @keyframes delay { from {left: 0px;} to {left: 300px;} } </style> </head> <body> <h2>Exemple de animation-delay en milisecondes.</h2> <p>Ici, l'animation commencera après 200ms.</p> <div></div> </body> </html>