CSS animation 動畫屬性
屬性 | 說明 |
---|---|
animation-name | 動畫名稱 |
animation-duration | 動畫持續時間,預設 0,單位 s 或 ms。 |
animation-delay | 動畫延遲播放時間,預設 0,單位 s 或 ms。 |
animation-iteration-count | 動畫播放次數,預設 1。 其他還有 infinite。 |
animation-timing-function | 動畫加速度函式,預設 ease。 其他還有: linear、ease-in、ease-out、ease-in-out step-start、step-end、steps(int,start/end)、cubic-bezier(n,n,n,n)。 |
animation-direction | 動畫播放方向,預設 normal。 其他還有 reverse、alternate、alternate-reverse。 |
animation-fill-mode | 動畫播放前後模式,預設 none。 其他還有 forwards、backwards、both。 |
animation-play-state | 動畫播放或暫停狀態,預設 running。 其他還有 paused。 |
direction | fill-mode | play-state;
00
00
00
沒有留言:
張貼留言