Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</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>Пример свойства transition-duration</h2> <div></div> </body> </html>