·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