thebushidocollective avatar

Tailwind Responsive Design

Mobile-first responsive design is one of those things you think you understand until you're debugging why your nav looks fine on desktop but breaks on tablet. This gives you the Tailwind breakpoint system with real examples of hero sections, card grids, and navigation that actually work across devices. The examples show the full class strings with all the breakpoint prefixes, which is more helpful than you'd think when you're trying to remember whether to hide or block on md. Covers the basics well: typography scaling, spacing adjustments, show/hide patterns, and grid layouts that go from single column to four columns as the viewport expands.

skills.sh installs
235
GitHub stars
200
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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>

Sponsors

Details

Repository
github.com/thebushidocollective/han
Categories
Frontend Development, Mobile Development, Design & UI/UX
First seen
Jun 3, 2026

More from thebushidocollective/han

All 14
1exceptionless avatarshadcn-svelte Componentsexceptionless/exceptionlessUI components with shadcn-svelte and bits-ui. Component patterns, trigger snippets, dialog handling, and accessibility. Keywords: shadcn-svelte, bits-ui, Button0skills.sh installs
2huntabyte avatarshadcn-sveltehuntabyte/shadcn-svelteshadcn svelte7.2Kskills.sh installs
3unovue avatarshadcn-vueunovue/shadcn-vueshadcn vue6.1Kskills.sh installs
4forcedotcom avatarbuilding-ui-bundle-frontendforcedotcom/afv-librarybuilding ui bundle frontend1.5Kskills.sh installs
5sickn33 avatarreact-nextjs-developmentsickn33/antigravity-awesome-skillsreact nextjs development1.3Kskills.sh installs
6sickn33 avatarradix-ui-design-systemsickn33/antigravity-awesome-skillsradix ui design system993skills.sh installs