CSS → Tailwind 转换器
转换任何 CSS to Tailwind CSS utility classes instantly — full property mapping, arbitrary values, multi-selector support, and batch conversion
关于 CSS → Tailwind 转换器
转换任何 CSS to Tailwind CSS utility classes instantly — full property mapping, arbitrary values, multi-selector support, and batch conversion.
如何使用 CSS → Tailwind 转换器
- 1将你的CSS code粘贴到input panel (single selector or full stylesheet)中。
- 2点击 '转换' to see the equivalent Tailwind classes for each selector.
- 3审查the output — properties are marked as Exact, Approx, Arbitrary, or Unsupported。
- 4复制output as raw classes, JSX className, or HTML class attribute。
- 5Use 批量模式 (Starter+) to convert multiple CSS blocks separated by /* --- */.
提示
- Arbitrary values (例如, w-[137px]) are used when there is no exact Tailwind utility — consider rounding to standard values.
- Paste entire stylesheets with multiple selectors — the tool handles all of them 一次完成.
- 使用 JSX copy mode when working in React — it wraps classes in className syntax.
免费版与付费版限制
免费:limited properties per conversion。Starter+:unlimited properties, batch mode。
OneKitTools 团队更新于 2.21.4