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 从公开仓库中收录这些内容。

举报或申请下架