Skip to content
Back to skills

Tailwindcss Responsive

ASecurity

Use when applying responsive variants at different screen widths, defining a custom breakpoint, or building container-query-based components.

  • 29 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
design

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add fusengine/agents --skill tailwindcss-responsive --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tailwindcss Responsive?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tailwindcss Responsive
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fusengine-tailwindcss-responsive/badge)](https://www.skillsdirectory.com/skills/fusengine-tailwindcss-responsive)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tailwindcss-responsive
description: "Use when applying responsive variants at different screen widths, defining a custom breakpoint, or building container-query-based components."
user-invocable: false
---

<objective>
Documents responsive design utilities in Tailwind CSS v4: the default breakpoint scale (`sm`/`md`/`lg`/`xl`/`2xl`), defining custom breakpoints via `@theme`, container queries (`@container`, `@md`, `@lg` container-relative variants), and the mobile-first authoring pattern (base styles first, larger-breakpoint overrides layered on top).
</objective>

# Responsive Design

## Default Breakpoints

| Variant | Size | CSS |
|---------|--------|-----|
| `sm:` | 40rem (640px) | `@media (width >= 40rem)` |
| `md:` | 48rem (768px) | `@media (width >= 48rem)` |
| `lg:` | 64rem (1024px) | `@media (width >= 64rem)` |
| `xl:` | 80rem (1280px) | `@media (width >= 80rem)` |
| `2xl:` | 96rem (1536px) | `@media (width >= 96rem)` |

## Custom breakpoint
```css
@theme {
  --breakpoint-3xl: 120rem;
}
/* Usage: 3xl:grid-cols-6 */
```

## Container Queries v4
```html
<div class="@container">
  <div class="@md:grid-cols-2 @lg:grid-cols-3">
    <!-- Responsive to container -->
  </div>
</div>
```

### Size containers (since v4.3)
`@container` creates an inline-size container; `@container-size` creates a size container so block-axis units (`cqb`, `cqh`) resolve. Name it with `@container-size/{name}`.
```html
<div class="@container-size">
  <div class="h-[50cqb]">
    <!-- Half the container's block size -->
  </div>
</div>
```

## Mobile-first
```html
<div class="text-sm md:text-base lg:text-lg">
  <!-- Small screens first -->
</div>
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…