# tailwind

Defines TailwindCSS guidelines inside Remotion and blocks native CSS transitions. Activates whenever you style video components.

- rule · `type=rule` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline · ★ 849 repo stars
- Author: coleam00
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/coleam00/second-brain-skills/tree/HEAD/.claude/skills/remotion/rules/tailwind.md
- Updated: 2026-01-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/coleam00-tailwind

## What it does

This rule permits TailwindCSS utilities inside Remotion projects provided Tailwind is installed. It introduces a strict restriction against CSS transition and animation helpers, banning any `transition-*` and `animate-*` classes.

Visual movement must be driven frame by frame using the `useCurrentFrame()` hook. To configure styling dependencies initially, the agent must inspect `https://www.remotion.dev/docs/tailwind` via WebFetch.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/tailwind.md` — The paths frontmatter field limits the files

### Codex

**AGENTS.md**
- Codex reads AGENTS.md: paste the rule text there

### Cursor

**Manually: put the files in place**
- File: `.cursor/rules/tailwind.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/instructions/tailwind.instructions.md` — The applyTo field sets which files it applies to

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/rules/tailwind.md`

### Cline

**Manually: put the files in place**
- File: `.clinerules/tailwind.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/coleam00/second-brain-skills/tree/HEAD/.claude/skills/remotion/rules/tailwind.md

## When to use it
- apply TailwindCSS styling to Remotion video compositions
- prevent rendering bugs triggered by `transition-*` and `animate-*` utilities
- bind component animations strictly to the `useCurrentFrame()` hook

## Example prompts
- Style this Remotion video card with TailwindCSS classes
- Animate the lower third graphic using `useCurrentFrame()` instead of CSS transitions

## Similar
- [create-remotion-geist](https://affpapa.org/en/nevibecode/skills/create-remotion-geist.md) — skill · 506 installs
- [remotion-best-practices](https://affpapa.org/en/nevibecode/skills/vercel-labs-remotion-best-practices.md) — skill · 1600 installs
- [tailwind-v4-shadcn](https://affpapa.org/en/nevibecode/skills/tailwind-v4-shadcn.md) — skill · 8300 installs
- [tailwind-theme-builder](https://affpapa.org/en/nevibecode/skills/tailwind-theme-builder.md) — skill · 3300 installs
- [frontend-tailwind-best-practices](https://affpapa.org/en/nevibecode/skills/frontend-tailwind-best-practices.md) — skill · 470 installs
- [tailwind-react-firebase-cursorrules-prompt-file](https://affpapa.org/en/nevibecode/rules/tailwind-react-firebase-cursorrules-prompt-file.md) — rule · ★ 41178 repo stars

## Other versions with the same name
- [tailwind · patrickjs](https://affpapa.org/en/nevibecode/rules/tailwind.md) — ★ 41178 repo stars
- [tailwind · sanjeed5](https://affpapa.org/en/nevibecode/rules/sanjeed5-tailwind.md) — ★ 3589 repo stars

From the same set: [coleam00/second-brain-skills](https://affpapa.org/en/nevibecode/by/coleam00/second-brain-skills.md) — 33 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
