Menu
×
×
正确!
CSS 练习:指定 <div> 元素的转换在开始之前应该有 "0.5" 秒的延迟。 提示:使用 transition-delay 转换延迟属性。 |
编辑此代码:
x
<html> <head> <style> div { width: 100px; height: 100px; background: red; transition: width 2s; } div:hover { width: 300px; } </style> </head> <body> <div></div> <p>Hover over the div element above.</p> </body> </html> 结果:
|
正确的代码:
xxxxxxxxxx 结果:
|