Communitygithub.com

Dragoon0x/everything-design-taste

一个常見微動畫的參考庫,包含 CSS/JS 實作方式。

everything-design-taste 是什麼?

這個技能提供了一個完整的微動畫參考庫,包含 CSS 與 JavaScript 的實作範例,涵蓋進入動畫、互動回饋以及狀態轉換等常見場景。它匯集了濃淡入、上滑入、縮放入、右滑入等多種進入動畫效果,以及按鈕按下縮放、卡片懸浮上移、核取方塊勾選繪製等互動式回饋。此外,還支援展開收合、骨架載入、提示進出等狀態切換動畫。開發者可以參考這些直接可用的程式碼片段,快速在網頁或應用程式中加入流暢的視覺效果。所有動畫時長皆遵循指定的時間比例尺(100、150、200、250、300、400、500毫秒),並使用統一的緩動函式代幣,同時支援 `prefers-reduced-motion: reduce` 媒體查詢以尊重使用者偏好。此技能適用於任何使用 CSS 動畫的專案,尤其是 React、Vue 或原生 JavaScript 開發的互動元件。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Dragoon0x/everything-design-taste/tree/HEAD/skills/micro-animation-library

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

微動畫庫

進入動畫

@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

互動回饋

.button:active { transform: scale(0.97); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.toggle-on { background: var(--color-accent); }
.checkbox-check { stroke-dasharray: 16; animation: drawCheck 200ms ease forwards; }

狀態轉換

.expandable { transition: height 250ms ease, opacity 200ms ease; }
.skeleton { animation: shimmer 1.5s ease-in-out infinite; }
.toast-enter { animation: slideInRight 200ms ease-out; }
.toast-exit { animation: fadeOut 150ms ease-in; }

使用規則

  • 所有時長皆來自時間比例尺 (100, 150, 200, 250, 300, 400, 500ms)
  • 所有緩動函式皆來自緩動代幣
  • prefers-reduced-motion: reduce 會停用所有動畫
  • 僅使用 GPU 加速屬性 (transform, opacity)

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

Dragoon0x/everything-design-taste

Page transition choreography, staggered animations, and orchestrated motion sequences.

Dragoon0x/everything-design-taste

Portfolio curation, case study selection, and portfolio presentation strategy.

Dragoon0x/everything-design-taste

Hero section design patterns beyond the generic centered layout.

Dragoon0x/everything-design-taste

Landing page copywriting patterns including headlines, value propositions, and conversion-focused writing.

Dragoon0x/everything-design-taste

Landing page structure, conversion optimization, hero design, and landing page testing.

Dragoon0x/everything-design-taste

Designing for multiple languages, RTL support, date/number formatting, and cultural considerations.

Dragoon0x/everything-design-taste

Micro-interaction animation design, state transitions, and feedback animations.

Dragoon0x/everything-design-taste

Motion design review, animation performance, and motion consistency checking.

Dragoon0x/everything-design-taste

Animation purpose, timing, easing philosophy, and motion as a design language element rather than decoration.

Dragoon0x/everything-design-taste

Pricing page layout, plan comparison, feature matrices, and pricing tier presentation.

Dragoon0x/everything-design-taste

Pricing page design, plan comparison, feature matrices, pricing psychology, and upgrade flows.

Dragoon0x/everything-design-taste

Video background design, hero videos, and video performance.

Dragoon0x/everything-design-taste

Pre-launch waitlist design, launch pages, and early access patterns.

相關技能