← Dev Toolkit

Tailwind Converter

Bidirectional conversion between vanilla CSS and Tailwind CSS utility classes

Samples:
CSS Input
0 props
Tailwind Output 0 classes
Unsupported / Approximated Properties
Quick Reference — Tailwind Scale ▼ Show

Spacing Scale

00px
px1px
0.52px
14px
1.56px
28px
2.510px
312px
3.514px
416px
520px
624px
728px
832px
936px
1040px
1144px
1248px
1456px
1664px
2080px
2496px
28112px
32128px
36144px
40160px
44176px
48192px
52208px
56224px
60240px
64256px
72288px
80320px
96384px

Font Size

text-xs12px
text-sm14px
text-base16px
text-lg18px
text-xl20px
text-2xl24px
text-3xl30px
text-4xl36px
text-5xl48px
text-6xl60px
text-7xl72px
text-8xl96px
text-9xl128px

Border Radius

rounded-none0px
rounded-sm2px
rounded4px
rounded-md6px
rounded-lg8px
rounded-xl12px
rounded-2xl16px
rounded-3xl24px
rounded-full9999px

Common Colors

white / black#fff / #000
slate-{50-950}slate tones
gray-{50-950}gray tones
red-{50-950}red tones
orange-{50-950}orange tones
yellow-{50-950}yellow tones
green-{50-950}green tones
blue-{50-950}blue tones
indigo-{50-950}indigo tones
purple-{50-950}purple tones
pink-{50-950}pink tones

Opacity

opacity-00
opacity-50.05
opacity-100.1
opacity-200.2
opacity-250.25
opacity-300.3
opacity-400.4
opacity-500.5
opacity-600.6
opacity-700.7
opacity-750.75
opacity-800.8
opacity-900.9
opacity-950.95
opacity-1001

Z-Index

z-00
z-1010
z-2020
z-3030
z-4040
z-5050
z-autoauto