Layout
overflow to Tailwind
The shorthand maps directly, and the per-axisoverflow-x-* / overflow-y-* utilities cover the long-hand forms.The 13 mappings below are read straight out of Tailwind v4.3.3, not maintained by hand, so this is what the converter will actually produce for overflow.
overflow values and their classes
| CSS | Tailwind |
|---|---|
| overflow: auto; | overflow-auto |
| overflow: clip; | overflow-clip |
| overflow: hidden; | line-clamp-1also sets display, -webkit-box-orient, -webkit-line-clamp |
| overflow: hidden; | line-clamp-2also sets display, -webkit-box-orient, -webkit-line-clamp |
| overflow: hidden; | line-clamp-3also sets display, -webkit-box-orient, -webkit-line-clamp |
| overflow: hidden; | line-clamp-4also sets display, -webkit-box-orient, -webkit-line-clamp |
| overflow: hidden; | line-clamp-5also sets display, -webkit-box-orient, -webkit-line-clamp |
| overflow: hidden; | line-clamp-6also sets display, -webkit-box-orient, -webkit-line-clamp |
| overflow: hidden; | overflow-hidden |
| overflow: hidden; | truncatealso sets text-overflow, white-space |
| overflow: scroll; | overflow-scroll |
| overflow: visible; | line-clamp-nonealso sets display, -webkit-box-orient, -webkit-line-clamp |
| overflow: visible; | overflow-visible |
Other layout properties
Converting a whole stylesheet?
Paste it into the converter and get every rule at once, shorthands expanded, media queries turned into breakpoint variants, and the parts that have no Tailwind equivalent flagged rather than dropped.
Open the converter