🖍️
CSS 排版及動畫效果
  • CSS 排版及動畫效果
  • 1. 簡介
    • 1.1 講者簡介
    • 1.2 課程簡介
    • 1.3 開發工具簡介
  • 2. 棋盤式排版模式 Grid
    • 2.1 基本觀念及術語
    • 2.2 Grid 排版 - Container
    • 2.3 Grid 排版 - Items
  • 3. 多欄排版模式 Column
  • 4. 轉場效果 transition
    • 4.1 第一個 transition
    • 4.2 屬性 transition-property
    • 4.3 期間 transition-duration
    • 4.4 漸變函式 transition-timing-function
    • 4.5 延遲 transition-delay
    • 4.6 transition 縮寫
    • 4.7 練習
  • 5. 動畫效果 animation
    • 5.1 第一個 animation
    • 5.2 關於 keyframes
    • 5.3 同個元素套用多個 animation
    • 5.4 次數 animation-iteration-count
    • 5.5 方向 animation-direction
    • 5.6 延遲 animation-delay
    • 5.7 填滿模式 animation-fill-mode
    • 5.8 播放狀態 animation-play-state
    • 5.9 漸變函式 animation-timing-function
    • 5.10 animation 縮寫
    • 5.11 補充:動畫效果事件(Animation Event)
    • 5.12 練習
  • 6. 作業
  • 7. 第三方動畫效果套件
    • 7.1 Animate.css
    • 7.2 AOS
    • 7.3 CSS Loader
  • 8. 大量練習
  • 9. 其它及參考資料
Powered by GitBook
On this page
  • animation-delay 說明
  • 關於秒數的設定
  • 範例
  1. 5. 動畫效果 animation

5.6 延遲 animation-delay

Previous5.5 方向 animation-directionNext5.7 填滿模式 animation-fill-mode

Last updated 1 year ago

animation-delay 說明

通常一個動畫的效果,只要套用至某元素上,就會直接開始執行。但我們可以另外設一個延遲時間,例如 1 秒,那當元素套用至動畫效果後,會先等待 1 秒,然後才會開始執行動畫效果。就是透過 animation-delay 來達成的。

關於秒數的設定

例:1秒

animation-delay: 1s;

例:0.1 秒或 100 毫秒

animation-delay: 0.1s;

animation-delay: 100ms;

範例