Pure CSS hover effects and micro-interaction patterns for Claude Code.
Zero JS · Zero dependencies · No SSR issues · Auto-matches your design style.
Two Claude Code skills that detect your existing design style and automatically apply matching CSS effects — no manual picking required.
| Skill | Trigger condition | Solves |
|---|---|---|
css-hover-effects |
:hover |
"This UI feels flat and unclickable" |
css-micro-fx |
:focus / :active / state change |
"Users don't know if their action worked" |
| css-skills | Motion (Framer) | GSAP | |
|---|---|---|---|
| Bundle size | 0 KB | 32 KB gzipped | 69 KB min |
| SSR / Next.js | No issues | Hydration conflicts | Needs config |
| Framework | Any | React only | Any |
| Learning curve | None | Medium | High |
| Use case | Hover + feedback | Complex animation | Timeline animation |
These skills don't replace GSAP or Motion — they handle the lightweight layer those libraries are overkill for.
claude install github.com/dabaibian/css-skills100+ hover patterns across 7 categories, auto-matched to your design style.
| Your design style | Claude picks |
|---|---|
| Minimal (Notion / Linear / Vercel) | Float, Underline From Center, Border Fade |
| Bold (Stripe / agencies) | Sweep, Shutter In, Glow, Pop |
| Playful (consumer apps) | Pop, Wobble, Bubble, Jelly |
| Corporate (B2B / dashboards) | Background Fade, subtle Float |
| Dark Premium (Raycast / dev tools) | Glow, Shadow Radial, Float Shadow |
- 2D Transitions — Float, Grow, Pop, Wobble, Buzz, Bob, Pulse...
- Background — Sweep, Shutter In, Radial Out, Background Fade...
- Border — Underline From Center/Left, Border Fade, Ripple, Reveal...
- Shadow & Glow — Float Shadow, Glow, Shadow Radial...
- Icons — Icon Float, Spin, Forward, Grow...
- Speech Bubbles — Bubble Top/Right/Bottom/Left with tooltip content
- Curls — Page-curl at any corner
Functional feedback patterns for forms, buttons, loaders and links.
Input focus
Bars— bottom border slides in from center (universal)Highlight— soft background tint on focusGlow— glowing focus ring (dark/bold styles)Label Float— label animates above input on focus
Button click / hover
Bubble— ripple from click pointJelly— elastic squish on activeShine— light sweep on hoverSlide— background slides in on hoverPress— depth press on clickPulse— persistent attention ring (CTA only)
Loading states
Pillars— 5-bar wave (fits inside buttons)Overline— top-of-page progress barDots— three-dot pulse (chat / AI "thinking")Ring— classic circular spinner
Completion
Strikethrough— line draws through completed task text
Text links
Underline Draw— line draws in on hoverUnderline Slide Out— reverse surprise underlineColor Shift— text color transitions to accent
Claude automatically detects your style and applies effects. You just ask:
"Add hover effects to the nav links and feature cards"
→ Claude reads your CSS, detects MINIMAL style, applies
Underline From Center to nav + Float to cards
"The form inputs feel flat"
→ Claude applies fx-input-bars to all inputs, matches accent color
"Show a loading state on the submit button"
→ Claude adds fx-loader-pillars and wires it to the submit handler
All effects include prefers-reduced-motion support. Claude adds this block automatically:
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}Pattern library derived from:
Both modernized with CSS custom properties and updated syntax.
MIT © dabaibian
- LINUX DO 社区 — 凝聚全网的高质量技术与资源分享社区。