How CSS to Tailwind Conversion Works
AnyTool parses pasted CSS and maps each declaration to the equivalent Tailwind utility class, preserving selector context so @media blocks become responsive prefixes (md:, lg:, xl:) and pseudo-classes become state prefixes (hover:, focus:, active:). Colors are matched to the nearest Tailwind palette value with an arbitrary-value fallback for exact hex, off-scale numbers become arbitrary utilities like m-[33px], and a v3/v4 toggle controls the output dialect. Anything that cannot map is listed in a transparent "needs manual" panel.
- Responsive @media to md:/lg:/xl: prefixes
- Pseudo-classes to hover:/focus:/active: utilities
- Nearest-color matching with arbitrary fallback
- Tailwind v3 and v4 output modes
- Honest "needs manual" list for unmappable rules
