CSS Borders to Tailwind

border: 1px solid becomes border plus border-color utilities. border-radius: 0.5rem maps to rounded-lg.

Border shorthand

Width, style, and color may become multiple utilities. Check that border alone did not drop a custom color you still need.

Radius tokens

Design systems often use radii that sit between Tailwind defaults. Arbitrary radius is fine until you extend the theme.

Divide utilities

List dividers sometimes map cleaner to divide-* than to borders on every child. Consider intent, not only literal property translation.

Try it

Open converter

.example { display: flex; gap: 1rem; padding: 1rem; }

Trust note: verify output visually. The converter is a draft helper for developers.

Chrome Extension