Skip to content
thebushidocollective avatar

Tailwind Responsive Design

Responsive layout guide for Tailwind CSS covering breakpoints, mobile-first utilities, and responsive patterns.

CCM score
47 of 100
skills.sh installs
235
GitHub stars
202
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers mobile-first breakpoint prefixes (sm, md, lg, xl, 2xl) with default pixel values for each size
  • Includes examples for responsive typography, spacing, grid layouts, show/hide visibility, hero sections, card grids, and navigation
  • Recommends starting with unprefixed mobile utilities and layering larger-screen overrides, rather than desktop-first resets
  • Mentions container queries as a component-level alternative, though the source excerpt is truncated before that section

Install

$ npx -y skills add thebushidocollective/han --skill tailwind-responsive-design -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Tailwind CSS - Responsive Design

Tailwind CSS provides a mobile-first responsive design system using breakpoint prefixes that make it easy to build adaptive layouts.

Key Concepts

Mobile-First Approach

Tailwind uses a mobile-first breakpoint system. Unprefixed utilities apply to all screen sizes, and breakpoint prefixes apply from that breakpoint and up:

<!-- Mobile: full width, Tablet+: half width, Desktop+: third width -->
<div class="w-full md:w-1/2 lg:w-1/3">
  Responsive width
</div>

Default Breakpoints

// tailwind.config.js default breakpoints
{
  sm: '640px',   // Small devices (landscape phones)
  md: '768px',   // Medium devices (tablets)
  lg: '1024px',  // Large devices (desktops)
  xl: '1280px',  // Extra large devices (large desktops)
  '2xl': '1536px' // 2X large devices (larger desktops)
}

Best Practices

1. Start Mobile, Scale Up

Design for mobile first, then add complexity for larger screens:

<!-- Good: Mobile-first approach -->
<div class="
  flex flex-col
  md:flex-row
  gap-4
">
  <div class="w-full md:w-1/2">Column 1</div>
  <div class="w-full md:w-1/2">Column 2</div>
</div>

Details

Repository
github.com/thebushidocollective/han
Category
Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the tailwind-responsive-design skill help with?

The tailwind-responsive-design skill helps build responsive layouts and mobile-first designs with Tailwind CSS. It covers breakpoints, container queries, and responsive utilities, with examples for typography, spacing, grids, show and hide rules, hero sections, and navigation.

How do I install the tailwind-responsive-design skill?

Run npx -y skills add thebushidocollective/han --skill tailwind-responsive-design -y in your project. After that, the agent can apply Tailwind's mobile-first breakpoint prefixes such as md: and lg: to your layouts.

Which skills lead the Frontend and UI Code category alongside it?

Within Frontend and UI Code, the skill sits alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. It stands out for its focus on Tailwind breakpoints, container queries and responsive utility patterns.

Does the skill need any tools or accounts to run?

The skill's SKILL.md lists Read, Write, Edit, Bash, Grep and Glob as its allowed tools. It works inside a project that uses Tailwind CSS, and its breakpoint defaults follow the tailwind.config.js setup.

More from thebushidocollective/han

All 14

Similar to Tailwind Responsive Design

More Frontend & UI Code