Layout
visibility to Tailwind
Three keywords, three utilities — noteinvisible still occupies layout space, unlike hidden which is display: none.The 3 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 visibility.
visibility values and their classes
| CSS | Tailwind |
|---|---|
| visibility: collapse; | collapse |
| visibility: hidden; | invisible |
| visibility: visible; | 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