Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)6.0k · #14455

transitions-dev

Skill này làm gì

Skill này cung cấp cho AI của bạn một bộ hoạt ảnh CSS sẵn sàng sao chép cho các phần giao diện thường gặp. Skill dành cho lập trình viên web muốn chuyển động đẹp mà không cần framework.

Khi nào nên dùng

  • ✓Khi bạn đang xây dựng modal, dropdown, tooltip hoặc accordion và muốn nó có hiệu ứng.
  • ✓Khi bạn cần các thay đổi số, chữ hoặc biểu tượng có chuyển động mượt.
  • ✓Khi bạn muốn các chuyển cảnh trang hoặc bảng điều khiển tôn trọng cài đặt giảm chuyển động.

Liên kết skill

https://github.com/Jakubantalik/transitions.dev/blob/main/skills/transitions-dev/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Jakubantalik/transitions.dev/blob/main/skills/transitions-dev/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thêm hiệu ứng mở và đóng modal mượt vào trang của tôi bằng một hiệu ứng CSS có sẵn.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chọn hiệu ứng phù hợp, thêm CSS và kết nối các hook HTML cần thiết. Mỗi hiệu ứng đều có một đoạn bảo vệ giảm chuyển động.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Transitions.dev

Thirty-two portable CSS transitions, each namespaced under t-* selectors with semantic CSS custom properties. Drop-in: paste the snippet, wire the documented HTML hooks, done. No framework dependencies, no demo-specific markup, and every snippet ships a prefers-reduced-motion guard.

Quick reference

Transition When to use Reference
Card resize Tween a container's width or height when its layout state changes. 01-card-resize.md
Number pop-in Re-enter each digit with a blurred slide when a number updates. 02-number-pop-in.md
Notification badge Slide a small badge onto a trigger and pop the dot. 03-notification-badge.md
Text states swap Swap text in place with a blurred up-and-down transition. 04-text-states-swap.md
Menu dropdown Open an origin-aware dropdown that grows from its trigger. 05-menu-dropdown.md
Modal open / close Scale-up modal dialog with a softer scale-down on close. 06-modal.md
Panel reveal Slide a panel into a region with a cross-blur. 07-panel-reveal.md
Page side-by-side Slide between two side-by-side pages (list ↔ detail, step 1 ↔ step 2). 08-page-side-by-side.md
Icon swap Cross-fade two icons in the same slot with blur and scale. 09-icon-swap.md
Success check Compose fade + rotate + Y-bob + path stroke-draw to celebrate a completed action. 10-success-check.md
Avatar group hover Distance-falloff lift on a row of items with a bouncy spring on return. 11-avatar-group-hover.md
Error state shake Per-segment cubic-bezier shake with auto-reverting border + message. 12-error-state-shake.md
Input clear with dissolve Fly-out + per-word streak when a text field is cleared. 13-input-clear-dissolve.md
Skeleton loader and reveal Pulse a placeholder, then cross-fade + cross-blur to the loaded content. 14-skeleton-reveal.md
Shimmer text Sweep a highlight band across muted text on a loop (pure CSS). 15-shimmer-text.md
Tabs sliding Slide the active pill between tabs in a segmented control. 16-tabs-sliding.md
Tooltip open/close Delayed fade+scale in, instant out, travels between triggers. 17-tooltip.md
Texts reveal Staggered blurred rise for stacked text lines, quiet fade out. 18-texts-reveal.md
Card hover tilt Tilt a card in 3D toward the pointer with a cursor-tracked glare. 19-card-tilt.md
Plus to menu morph Morph a circular trigger into the menu / panel it opens. 20-plus-menu-morph.md
Accordion expand Grow / shrink a panel via grid-rows with a chevron flip. 21-accordion.md
Toast open / close Rise a toast from below with fade + cross-blur, slower in than out. 22-toast.md
Like button Fill a heart with a pop + particle burst on like. 23-like-button.md
Learn more hover Slide the chevron and spread its arms into an arrow on hover. 24-learn-more-hover.md
Checkbox check Fill the box, then stroke-draw the checkmark. 25-checkbox-check.md
Spinning counter Spin slot-machine digit reels with vertical motion blur. 26-spinning-counter.md
Toggle Travel the switch thumb with a double-bounce overshoot. 27-toggle.md
Thinking states Shimmer a status line while it holds, then swap it to the next state. 28-thinking-states.md
Reasoning stream Step an agent-reasoning transcript up two lines at a time on a loop. 29-reasoning-stream.md
Streaming text Resolve streamed words one by one through a soft cross-blur. 30-streaming-text.md
Matrix dot loader Pulse a 4×4 dot matrix in scan / twinkle / orb
Câu hỏi thường gặp

Skill có cần framework JavaScript không?

Không. Các hiệu ứng không phụ thuộc vào framework nào.

Skill có tôn trọng cài đặt giảm chuyển động không?

Có. Mỗi đoạn mã đều có bảo vệ prefers-reduced-motion.

Có bao nhiêu hiệu ứng?

Skill có ba mươi hai hiệu ứng có thể dùng ở nhiều nơi.

Chi tiết

Mô tả gốc của tác giả

Production-ready CSS transitions for web apps. Use when implementing notification badges, dropdowns, modals, panel reveals, page transitions, card resizes, number pop-ins, text swaps, icon swaps, success checks, avatar group hovers, error state shakes, search/input clear, skeleton loaders, shimmer text, sliding tabs, tooltips, staggered text reveals, card hover tilt, plus-to-menu morph, accordions, toasts, like buttons, learn-more hovers, checkbox checks, spinning counters, toggles, AI thinking states, reasoning streams, streaming text, matrix dot loaders, or banner stacking. Triggers on "add

repo: Jakubantalik/transitions.dev

Độ phổ biến

Sao GitHub
6.0k
Vị trí xếp hạng
#14455
Giấy phép
—
Cập nhật
29/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự