Small 200 300ms

dylantarre/animation-principles/skills/10-by-time-scale/small-200-300ms

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

Use when building small transitions between 200-300ms - modal appearances, card expansions, navigation transitions that users consciously perceive

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

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

功能
這項技能為建立 200-300 毫秒的小型介面轉場提供指引,例如模態視窗出現、卡片展開與導覽切換。它說明哪些迪士尼動畫原則適合這個時長、哪些不適合,並針對不同風格推薦緩動曲線。它也提供模態視窗與卡片展開的 CSS 實作模式。
適用情境
適用於建立使用者能明確感知的短時介面轉場,例如模態對話框、卡片展開與收合、導覽抽屜或分頁內容切換。也適合為小型介面狀態變化選擇時長與緩動。
執行需求
不需要任何工具、套件或憑證;僅為說明性內容,不附帶指令碼。

Small Transitions (200-300ms)

At 200-300ms, users consciously perceive motion. This duration bridges micro-interactions and full animations - ideal for UI state changes.

Disney Principles at Small Duration

Works Well

Squash & Stretch: Visible but restrained - 10-15% for playful interfaces, 5% for professional.

Anticipation: Brief wind-up works - 40-60ms preparation enhances 200ms main action.

Staging: Clear hierarchy - primary element leads, secondary follows by 50-100ms.

Straight Ahead/Pose to Pose: Pose to pose preferred - keyframes create polished motion.

Follow Through: Noticeable overshoot - 5-10% past target adds life.

Slow In/Slow Out: Full easing curves - both ease-in-out and custom beziers shine.

Arcs: Natural curves enhance - elements can travel on arcs rather than straight lines.

Secondary Action: One or two secondary actions - fade + scale, move + rotate.

Timing: 12-18 frames at 60fps. Smooth, deliberate motion.

Exaggeration: Moderate to pronounced - depends on brand personality.

Solid Drawing: Full transform combinations - translate, scale, rotate together.

Appeal: Conscious animation that builds brand character.

Doesn't Work

  • Feeling instant (too slow)
  • Complex character animation
  • Long travel distances
  • Multiple sequential stages

Easing Recommendations

css
/* Standard smooth transition */transition: all 250ms ease-out;
/* Modal/card appearance - confident arrival */transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
/* Bouncy personality */transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
/* Professional, subtle */transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);

Best Use Cases

  • Modal dialogs appearing
  • Card expand/collapse
  • Navigation drawer slides
  • Tab content transitions
  • Filter panel toggles
  • Image thumbnails expanding
  • Alert/notification slides

Implementation Pattern

css
.modal {  opacity: 0;  transform: translateY(20px) scale(0.95);  transition: opacity 200ms ease-out,              transform 250ms cubic-bezier(0.16, 1, 0.3, 1);}
.modal.open {  opacity: 1;  transform: translateY(0) scale(1);}
.card-expand {  transition: all 280ms cubic-bezier(0.34, 1.56, 0.64, 1);}

Key Insight

Small transitions are seen and understood. Users track the motion and their brain processes the spatial relationship. Use this to guide attention and communicate hierarchy.

來源與署名

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

授權條款: 無授權條款

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

檢舉或申請下架