Convertitore Classi Tailwind
Converte dichiarazioni CSS in classi di utilità Tailwind e viceversa usando valori di scala da Tailwind v4. Espande shorthand di padding e margin, ricade su valori arbitrari al di fuori della scala e elenca tutto ciò che non poteva essere convertito.
🔒 Questo strumento funziona interamente nel tuo browser. I tuoi file non vengono mai caricati su un server.
Line by line
| Input | Result |
|---|
Values come from the Tailwind v4 default theme, read from the installed version rather than typed from memory. If your project customises its theme, the class names are right but the numbers may not be — and v3 differs from v4 on several scales, most noticeably border radius. Nothing is uploaded.
How Convertitore Classi Tailwind works
- Open Convertitore Classi Tailwind and review the example state before entering your own values.
- Enter or select the information needed for Convertitore Classi Tailwind.
- Review the result and adjust the inputs if you want to compare another case.
Converts CSS declarations to Tailwind utility classes and back, using scale values read from Tailwind v4 itself. Expands padding and margin shorthand, falls back to arbitrary values off the scale, and lists anything it could not convert instead of discarding it. The interactive workspace runs in your browser, so you can review the result without creating an account.
FAQ
What is Convertitore Classi Tailwind used for?
Converts CSS declarations to Tailwind utility classes and back, using scale values read from Tailwind v4 itself. Expands padding and margin shorthand, falls back to arbitrary values off the scale, and lists anything it could not convert instead of discarding it.
Do I need an account?
No. The tool is available directly in the browser without an account or sign-up.
What should I do if the result looks unexpected?
Check the entered values and compare them with the guidance shown in Convertitore Classi Tailwind. Use the result as a planning aid and verify important decisions independently.