🌊 Convertidor CSS Tailwind a CSS Plano
Convert Tailwind CSS utility classes to plain CSS and back. Supports Tailwind v3 classes including spacing, colors, flexbox, grid. Free online converter.
Paste a list of Tailwind classes (like flex items-center p-4 text-lg font-bold) and get the equivalent plain CSS properties. Switch direction for CSS → Tailwind conversion. Useful when migrating projects or working without Tailwind in scope.
How to Use
Choose direction
Select "Tailwind → CSS" to convert class names to CSS properties, or "CSS → Tailwind" to go the other way.
Paste your code
Type or paste Tailwind classes (space-separated) or CSS properties in the input area.
Copy the output
Click Convert and then Copy to use the result in your project.
Frequently Asked Questions
Guía: Convertidor CSS a Tailwind
¿Qué es?
Traduce CSS existente a clases utilitarias Tailwind equivalentes. Útil para migrar CSS legado, entender qué clase corresponde a un valor específico, y acelerar la adopción de Tailwind en proyectos existentes.
Cómo usar
- Pega tu CSS en la entrada.
- Las clases Tailwind aparecen en el panel derecho.
- Copia las clases para tu HTML/JSX.
Consejos
- Para valores sin clase exacta, usa sintaxis arbitraria:
w-[342px]. - Extiende el tema en
tailwind.config.jscon tus valores de diseño. - Usa
@applycon moderación — va contra la filosofía de Tailwind.