Layout
box-sizing to Tailwind
Tailwind setsborder-box globally in its preflight, so box-content is the one you will actually write.The 2 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 box-sizing.
box-sizing values and their classes
| CSS | Tailwind |
|---|---|
| box-sizing: border-box; | box-border |
| box-sizing: content-box; | box-content |
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