Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> div { width: 150px; height: 100px; background: #666; -webkit-transition-duration: 2s; -moz-transition-duration: 2s; -o-transition-duration: 2s; transition-duration: 2s; } div:hover { width: 600px; } </style> </head> <body> <h2>Exemple de la propriété transition-duration</h2> <div></div> </body> </html>