← All tools

Tailwind Breakpoint Tester

Simulate viewport widths with default and custom breakpoints and inspect active variants.

tailwind-breakpoint-testerLOCAL WORKSPACE

Enabling local controls…

Tailwind v4 workbench

Preview uses native CSS, not a Tailwind runtime. Every change updates the result locally. Text and settings stay in page memory.

Limits: 16,000 UTF-8 bytes per text area, 1,000 classes, 24 layout items, 8 cards/shadow layers, 20 × 12 table cells. No input HTML, scripts, URLs or commands execute.

Converters use common documented rules. Arbitrary values and modifier characters are preserved, but unknown tokens are marked unsupported. Real cascade, custom themes and plugins require a Tailwind build.

References checked: · Theme · Responsive design · v4 upgrade guide · Colors

Preview & output

Result updated locally. Review before using in your project.

Item 1

Review notes

  • Width 720px; active: sm. Frame is capped to the panel; breakpoint calculations use the chosen simulated width.
Mappings / reference (7)
Current settings: utility mappings and values
VariantpxActive
sm:640yes
md:768no
tablet:900no
lg:1024no
xl:1280no
2xl:1536no
wide:1600no
Classes

Preview: first 32,000 characters. Copy, download and expanded text retain all content. Select complete text if copying fails.

block sm:flex md:flex tablet:flex lg:flex xl:flex 2xl:flex wide:flex
Expand complete selectable text
block sm:flex md:flex tablet:flex lg:flex xl:flex 2xl:flex wide:flex

HTML

Preview: first 32,000 characters. Copy, download and expanded text retain all content. Select complete text if copying fails.

<div><div class="rounded-md bg-slate-100 p-4 text-slate-900">Item 1</div></div>
Expand complete selectable text
<div><div class="rounded-md bg-slate-100 p-4 text-slate-900">Item 1</div></div>

@theme

Preview: first 32,000 characters. Copy, download and expanded text retain all content. Select complete text if copying fails.

@import "tailwindcss";

@theme {
  --breakpoint-sm: 40rem;
  --breakpoint-md: 48rem;
  --breakpoint-tablet: 56.25rem;
  --breakpoint-lg: 64rem;
  --breakpoint-xl: 80rem;
  --breakpoint-2xl: 96rem;
  --breakpoint-wide: 100rem;
}
Expand complete selectable text
@import "tailwindcss";

@theme {
  --breakpoint-sm: 40rem;
  --breakpoint-md: 48rem;
  --breakpoint-tablet: 56.25rem;
  --breakpoint-lg: 64rem;
  --breakpoint-xl: 80rem;
  --breakpoint-2xl: 96rem;
  --breakpoint-wide: 100rem;
}

How to use this tool

Edit the labelled controls to update a native CSS preview and copy or download Tailwind v4 output. Examples and reset stay in page memory.

When not to use it

No Tailwind runtime or full compiler. Converters support a documented common subset and list unknown utilities. Class conflicts and dark colors are suggestions requiring review in your built project. Input 16,000 UTF-8 bytes, 1,000 classes; no scripts or input HTML execute.