Communitygithub.com

Dragoon0x/everything-design-taste

常见微动效的参考库,包含CSS/JS实现。

everything-design-taste 是什么?

这是一个微动效参考库,为开发者提供了一套可直接复用的常见动画片段和交互反馈的CSS/JS实现。该技能涵盖了入场动画、交互反馈、状态切换等场景的核心动画定义,并遵循统一的持续时间和缓动函数规范。它还明确要求使用GPU加速属性(transform、opacity),并支持通过`prefers-reduced-motion`媒体查询来禁用动画,以确保无障碍性。支持所有主流前端开发环境(如Claude Code、Cursor等),帮助团队快速实现一致且高性能的微交互。

兼容平台~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.

相关技能