transition
英[tr?n?z??n]美[tr?n?z???n, -?s??-]
n.遷移、変換、変化; [言語]変換; [樂]聲調変化
三人稱単數:transitions 複數形:transitions 現在分詞:transitioning 過去形:transitioned
css3トランジションプロパティ 構文
関數: 要素の遷移屬性を設定します。
説明: 複合屬性。オブジェクトが変換されるときの遷移を取得または設定します。
CSS3 のtransform屬性はトランジション効果を実現できます。トランジションエフェクトの名前、完了時間、スピードカーブ、開始時間を設定します
css3トランジションプロパティ 例
<!DOCTYPE html> <html> <head> <style> div { width:100px; height:100px; background:yellow; transition:width 2s; -moz-transition:width 2s; /* Firefox 4 */ -webkit-transition:width 2s; /* Safari and Chrome */ -o-transition:width 2s; /* Opera */ } div:hover { width:300px; } </style> </head> <body> <div></div> <p>請把鼠標指針放到黃色的 div 元素上,來查看過渡效果。</p> <p><b>注釋:</b>本例在 Internet Explorer 中無效。</p> </body> </html>
インスタンスの実行 ?
[インスタンスの実行] ボタンをクリックしてオンライン インスタンスを表示します