css transition-delay ?? ???
??: transition-delay ??? ?? ??? ???? ??? ?????. ?? ?? ?? ? ?? ??? ?????.
??: ??transition-delay: time
??: time? ?? ??? ???? ?? ???? ??? ? ?? ??? ??? ?????.?
??: Internet Explorer 10, Firefox, Opera ? Chrome? ?? ?? ??? ?????. Safari? ?? -webkit-transition-delay ??? ?????. ??: Internet Explorer 9 ? ?? ????? ?? ?? ??? ???? ????.
css transition-delay ?? ?
<!DOCTYPE html> <html> <head> <style> div { width:100px; height:100px; background:blue; transition-property:width; transition-duration:5s; transition-delay:2s; /* Firefox 4 */ -moz-transition-property:width; -moz-transition-duration:5s; -moz-transition-delay:2s; /* Safari and Chrome */ -webkit-transition-property:width; -webkit-transition-duration:5s; -webkit-transition-delay:2s; /* Opera */ -o-transition-property:width; -o-transition-duration:5s; -o-transition-delay:2s; } div:hover { width:300px; } </style> </head> <body> <div></div> <p>請把鼠標(biāo)指針移動到藍色的 div 元素上,就可以看到過渡效果。</p> <p><b>注釋:</b>過渡效果會在開始前等待兩秒鐘。</p> <p><b>注釋:</b>本例在 Internet Explorer 中無效。</p> </body> </html>
???? ?? ?
??? ????? ??? "???? ??" ??? ?????