animation-timing-function

設定動畫循環一次的進展方式

語法

{ animation-timing-function:sVar }

可能的值

sVar

指定下列其中一個值的變數:

ease

linear

ease-in

ease-out

ease-in-out

cubic-bezier

此屬性的預設值為 auto 。這不是繼承屬性。

備註

若為主要畫面格動畫, animation-timing-function  會在主要畫面格之間套用,而不會套用至整個動畫。例如,若使用 ease-in-out 計時函數,動畫將在主要畫面格開始時加速,並且在主要畫面格結束時減速。主要畫面格區塊內定義的 animation-timing-function 會套用至該主要畫面格,否則會使用為該動畫指定的計時函數。

標準資訊

important note重要訊息:

本文件為初步資訊而且可能隨時變更。

另請參閱

概念

animation
animation-delay
animation-direction
animation-duration
animation-iteration-count
animation-name

其他資源

animation-play-state