·css-animation-patterns
*

css-animation-patterns

CSS 动画、过渡、关键帧和现代运动 API。添加动画、过渡、滚动驱动效果或视图过渡时使用。用于 css 动画、过渡、关键帧、视图过渡、滚动动画、变换、运动偏好、动画时间轴。

21安装·3热度·@oakoss

安装

$npx skills add https://github.com/oakoss/agent-skills --skill css-animation-patterns

如何安装 css-animation-patterns

通过命令行快速安装 css-animation-patterns AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/oakoss/agent-skills --skill css-animation-patterns
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:oakoss/agent-skills。

SKILL.md

查看原文

CSS animations and transitions provide hardware-accelerated motion for web interfaces using keyframes, transitions, transforms, and modern scroll-driven and view transition APIs. Animate only composite properties (transform, opacity, filter) for smooth 60fps performance, and always respect prefers-reduced-motion.

The browser rendering pipeline has four stages: Style, Layout, Paint, and Composite. Animating composite-only properties skips Layout and Paint entirely, running on the GPU compositor thread. This is the single most important performance principle for CSS animation.

Modern CSS adds two powerful APIs: scroll-driven animations link keyframe progress to scroll position or element visibility instead of time, and the View Transitions API creates snapshot-based animated transitions between DOM states for both SPAs and MPAs.

CSS 动画、过渡、关键帧和现代运动 API。添加动画、过渡、滚动驱动效果或视图过渡时使用。用于 css 动画、过渡、关键帧、视图过渡、滚动动画、变换、运动偏好、动画时间轴。 来源:oakoss/agent-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/oakoss/agent-skills --skill css-animation-patterns
分类
*创意媒体
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from oakoss/agent-skills

快速解答

什么是 css-animation-patterns?

CSS 动画、过渡、关键帧和现代运动 API。添加动画、过渡、滚动驱动效果或视图过渡时使用。用于 css 动画、过渡、关键帧、视图过渡、滚动动画、变换、运动偏好、动画时间轴。 来源:oakoss/agent-skills。

如何安装 css-animation-patterns?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/oakoss/agent-skills --skill css-animation-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/oakoss/agent-skills

详情

分类
*创意媒体
来源
skills.sh
收录时间
2026-02-25