Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

advanced-css-effects

БесплатноБез исполняемых скриптовНе проверен

Advanced CSS visual effects: clip-path, masks, backdrop-filter, filters, blend modes, @property, scroll-driven animations, CSS 3D transforms and Houdini. USE…

claude-dev-suiteот claude-dev-suite★ 51 звезда на GitHub

Об этом скилле

Advanced CSS Effects Skill

clip-path, masks, backdrop-filter, blend modes, CSS 3D, scroll-driven animations, @property, CSS Houdini.

clip-path

/* Basic shapes */
.diagonal    { clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); }
.circle      { clip-path: circle(50% at center); }
.inset       { clip-path: inset(10px 20px 10px 20px round 8px); }
.hexagon     { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }

/* SVG path — use for organic shapes */
.blob { clip-path: path("M 100 0 C 180 0 200 80 160 120 ..."); }

/* Animated reveal */
.reveal-ltr {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}
.reveal-ltr.is-visible { clip-path: inset(0 0% 0 0); }

/* Image wipe on hover */
.image-wipe { clip-path: inset(0 50% 0 50%); }
.image-wipe:hover { clip-path: inset(0 0% 0 0%); transition: clip-path 0.5s ease; }

CSS Masks

/* Image mask */
.masked {
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* SVG mask */
.svg-masked {
  mask-image: url(#mask-id);
  mask-size: contain;
  mask-repeat: no-repeat;
}

/* Text as mask (text reveal effect) */
.text-reveal {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

backdrop-filter

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(180%) brightness(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(180%) brightness(1.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
}

/* Frosted dark panel */
.frosted-dark {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

/* NOTE: requires a background behind the element — transparent background on parent breaks it */

CSS Filters

.card:hover {
  filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.4));
  transition: filter 0.3s ease;
}

/* Stacked filters */
.artistic {
  filter:
    contrast(1.2)
    saturate(1.3)
    brightness(0.95)
    hue-rotate(10deg);
}

/* Blur on load → sharpen on ready */
.loading  { filter: blur(8px); transition: filter 0.4s ease; }
.loaded   { filter: blur(0); }

/* Glitch effect */
.glitch { filter: url(#glitch-filter); }

mix-blend-mode

/* Overlay text on image */
.overlay-text {
  mix-blend-mode: overlay;   /* multiply | screen | overlay | color-dodge | difference */
  color: white;
}

/* Screen mode for logo on any background */
.logo-screen { mix-blend-mode: screen; }

/* Difference for psychedelic effect */
.psychedelic { mix-blend-mode: difference; }

/* isolation creates a new stacking context (stops blend-mode from affecting parent) */
.container { isolation: isolate; }

@property — Animatable Custom Properties

/* Declare animatable custom property */
@property --hue {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@property --gradient-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* Animated conic gradient (impossible without @property) */
.spinner {
  background: conic-gradient(from var(--gradient-angle), #6366f1, #a855f7, #6366f1);
  border-radius: 50%;
  animation: spin 3s linear infinite;
}

@keyframes spin { to { --gradient-angle: 360deg; } }

/* Animated hue shift */
.hue-animate {
  background: hsl(var(--hue), 80%, 60%);
  animation: hue-cycle 4s linear infinite;
}
@keyframes hue-cycle { to { --hue: 360; } }

CSS Scroll-Driven Animations (Chrome 115+, 2025 baseline)

/* Fade in as element enters viewport */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card {
  animation: fade-up linear both;
  animation-timeline: view();                   /* tied to element's visibility */
  animation-range: entry 0% entry 50%;          /* start: enters viewport → fully entered */
}

/* Progress bar tied to page scroll */
.progress-bar {
  transform-origin: left;
  animation: grow-x linear;
  animation-timeline: scroll(root block);        /* scroll of root element, block axis */
  animation-range: 0% 100%;
}
@keyframes grow-x { from { scaleX: 0 } to { scaleX: 1 } }

/* Parallax */
.parallax-bg {
  animation: parallax linear;
  animation-timeline: scroll(root);
}
@keyframes parallax {
  from { transform: translateY(0); }
  to   { transform: translateY(-30%); }
}

Animation Range Keywords

Keyword Meaning
entry 0% Element starts entering viewport
entry 100% Element fully in viewport
exit 0% Element starts leaving viewport
exit 100% Element fully out of viewport
contain Element is fully contained within scroller
cover Element covers full scroller

CSS 3D Transforms

/* Card flip */
.scene {
  perspective: 1000px;
Полный SKILL.md на GitHub

Установить advanced-css-effects в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob
Write
Edit

FAQ

Что делает скилл advanced-css-effects?

Advanced CSS visual effects: clip-path, masks, backdrop-filter, filters, blend modes, @property, scroll-driven animations, CSS 3D transforms and Houdini. USE WHEN: user mentions "clip-path", "backdrop-filter", "mix-blend-mode", "CSS mask", "@property", "scroll-driven animation", "CSS 3D", "Houdini", asks about a visual effect in pure CSS DO NOT USE FOR: JS-driven animation (use `framer-motion` or `gsap`), SVG-specific work (use `svg-animation`), utility-class styling (use `tailwindcss`)

Как установить скилл advanced-css-effects?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл advanced-css-effects запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить advanced-css-effects с