ADVERT
๐ CSS gradient โ Tailwind
Convert CSS gradients into Tailwind utility classes. Supports linear, radial, and conic gradients with smart mapping to Tailwind syntax.
CSS Gradient โ Tailwind Converter
Paste a linear-gradient(...), radial-gradient(...) or conic-gradient(...) and get Tailwind classes. Non-linear angles and radial/conic gradients return Tailwind arbitrary values.
bg-gradient-to-tr from-[#ff6b6b] to-[#4ea7ff]
Why use this converter
- Turn designer-provided CSS into Tailwind classes instantly.
- Experiment with gradient directions and see Tailwind equivalents.
- Keep arbitrary values tidy without hand-formatting.
Tips
- Tailwind linear gradients support `from`, `via`, and `to`โadd more stops for complex blends.
- Radial and conic gradients become arbitrary utilities; keep them in your safelist if purging CSS.
- Copy the output straight into `className` or Tailwind config files.
ADVERT
ADVERT