Medium 300 500ms

dylantarre/animation-principles/skills/10-by-time-scale/medium-300-500ms

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

Use when building standard animations between 300-500ms - page transitions, significant UI changes, animated illustrations that need clear communication

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

指導設計 300-500 毫秒的標準介面動畫,涵蓋迪士尼動畫原則、緩動曲線與 CSS 實作模式。

功能
這項技能為建立 300-500 毫秒區間的動畫提供指引,並把這個區間稱為標準動畫時長。它說明十二項迪士尼動畫原則在此時長下如何套用,提供附 CSS 範例的緩動曲線建議,並列出適用情境,例如頁面切換、複雜彈出視窗序列與資料視覺化變化。它也提供包含 CSS 轉場類別與子元素錯開延遲的實作模式。
適用情境
適合在建立 300 至 500 毫秒的標準動畫時使用,例如頁面切換、明顯的介面變化,或需要清楚傳達訊息的動畫插畫。也適用於希望動效被使用者注意到並理解、同時不拖慢操作節奏的情境。
執行需求
不需要指令碼或工具,屬於僅含指示的技能。範例使用 CSS,因此預設為網頁前端環境。

Medium Animations (300-500ms)

The 300-500ms range is standard animation territory. Long enough to be watched, short enough to not impede flow. The workhorse duration for meaningful motion.

Disney Principles at Medium Duration

All 12 Principles Applicable

Squash & Stretch: Full expression - visible deformation for bouncing, elastic elements. 15-25% stretch feels natural.

Anticipation: Clear preparation - 80-120ms anticipation before main action. Pull back before push forward.

Staging: Multi-element choreography possible - primary action leads, supporting elements follow.

Straight Ahead/Pose to Pose: Pose to pose recommended - define key positions, let easing handle in-betweens.

Follow Through: Essential - overlapping action where parts settle at different rates.

Slow In/Slow Out: Critical for naturalism - both directions need proper easing.

Arcs: Natural motion paths - elements should travel on curves matching real physics.

Secondary Action: Multiple secondary actions - hair follows head, shadow follows object.

Timing: 18-30 frames at 60fps. Enough frames for nuanced motion.

Exaggeration: Full range available - match to brand personality and context.

Solid Drawing: Complex transforms work - 3D rotations, perspective shifts.

Appeal: Character-defining animations - this is where brand personality lives.

Easing Recommendations

css
/* Smooth, natural motion */transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
/* Expressive entrance */transition: all 450ms cubic-bezier(0.16, 1, 0.3, 1);
/* Bouncy, playful */transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
/* Dramatic deceleration */transition: all 350ms cubic-bezier(0, 0.55, 0.45, 1);

Best Use Cases

  • Page/view transitions
  • Complex modal sequences
  • Animated illustrations
  • Data visualization changes
  • Onboarding animations
  • Feature reveals
  • State machine transitions
  • Loading completion celebrations

Implementation Pattern

css
.page-enter {  opacity: 0;  transform: translateX(30px);}
.page-enter-active {  opacity: 1;  transform: translateX(0);  transition: opacity 350ms ease-out,              transform 400ms cubic-bezier(0.16, 1, 0.3, 1);}
/* Staggered children */.list-item {  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);}.list-item:nth-child(1) { transition-delay: 0ms; }.list-item:nth-child(2) { transition-delay: 50ms; }.list-item:nth-child(3) { transition-delay: 100ms; }

Key Insight

Medium duration is where animation becomes storytelling. Users watch, understand, and remember these animations. Invest in polish here - it defines perceived quality.

來源與署名

來源:dylantarre/animation-principles位於skills/10-by-time-scale/medium-300-500ms提交8359713

授權條款: 無授權條款

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

檢舉或申請下架