Entrance Animations

dylantarre/animation-principles/skills/05-by-animation-type/entrance-animations

作者 dylantarre83597134ba8f無授權條款99 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫9 個月前更新

Use when elements need to appear on screen - page loads, modals opening, items being added, content reveals, or any "coming into view" animation.

僅含說明Design & Creative
AI 產生的概覽

運用迪士尼十二項動畫原則指導介面元素的進場動畫,並提供時長與 CSS 實作模式。

功能
這項技能為元素進入視野時的動畫提供指引,例如頁面載入、彈出視窗開啟、清單項目新增和內容顯現。它把迪士尼十二項動畫原則對應到進場動效,並依元素類型給出時長、緩動和錯開建議。它也包含一段 CSS 關鍵影格實作模式和錯開延遲公式。
適用情境
當元素需要在畫面上出現時使用,包括頁面載入、彈出視窗開啟、項目新增或內容顯現。適用於任何需要一致時長與動效指引的進場動畫。
執行需求
不需要指令碼或工具,僅為說明性指引。套用其中的 CSS 模式需要專案支援 CSS 動畫。

Entrance Animations

Apply Disney's 12 principles when bringing elements into view.

Principle Application

Squash & Stretch: Scale from 95% to 100% on entry. Elements feel elastic, not rigid.

Anticipation: Start slightly below/smaller than final position. A -10px offset before sliding up creates expectation.

Staging: Enter from the direction of user attention. New list items from the top, modals from center, sidebars from their edge.

Straight Ahead vs Pose-to-Pose: Use pose-to-pose. Define clear start state (invisible, offset) and end state (visible, positioned).

Follow Through & Overlapping: Child elements should lag slightly. Container enters first, content 50-100ms after.

Slow In/Slow Out: Use ease-out for entrances. Fast start, gentle landing: cubic-bezier(0, 0, 0.2, 1).

Arcs: Combine Y and X movement. Don't just fade - slide in on a subtle curve.

Secondary Action: Pair fade with scale. Opacity 0→1 while scaling 0.95→1 adds depth.

Timing:

  • Quick entrances: 150-200ms (toasts, tooltips)
  • Standard entrances: 200-300ms (modals, cards)
  • Dramatic reveals: 300-500ms (hero sections, page transitions)

Exaggeration: Scale can start at 0.8 for dramatic effect, 0.95 for subtle polish.

Solid Drawing: Maintain consistent 3D space. Elements entering from "behind" should scale up; from sides should slide.

Appeal: Entrances should feel welcoming. Avoid jarring pops - everything deserves an introduction.

Timing Recommendations

Element TypeDurationEasingDelay Pattern
Toast/Alert150msease-outNone
Modal250msease-outContent +50ms
Card/Item200msease-outNone
List Items200msease-outStagger 50ms
Page Section300msease-outStagger 100ms
Hero Content400msease-outStagger 150ms

Implementation Pattern

css
.entering {  animation: entrance 250ms cubic-bezier(0, 0, 0.2, 1) forwards;}
@keyframes entrance {  from {    opacity: 0;    transform: translateY(10px) scale(0.98);  }  to {    opacity: 1;    transform: translateY(0) scale(1);  }}

Stagger Formula

For multiple items: delay = index * 50ms, cap at 500ms total sequence time.

Never exceed 5 items in a stagger sequence without user-initiated action.

來源與署名

來源:dylantarre/animation-principles位於skills/05-by-animation-type/entrance-animations提交8359713

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架