-
Notifications
You must be signed in to change notification settings - Fork 0
Home
hoconghoai edited this page Feb 14, 2024
·
11 revisions
Welcome to the csstotailwind.com, a fast & free tool to convert your CSS classes to Tailwind classes.
- Simple to use: Just input your css classes & html (optional) and get the results.
- Supports over 7500 Tailwind classes, arbitrary classes, breakpoints and media query, Pseudo-classes (like :hover, :focus, :first-child, :required) and Pseudo-elements (like ::before, ::after, ::placeholder, ::selection) (See details below).
- Multiple suggestes results: If your class can be converted into different Tailwind classes.
- Replace your classes with Tailwind classes in your html.
- Fast conversion: Because all Tailwind classes are indexed, the tool searches and responds to you immediately.
- Free forever. If you'd like to support me, please donate via Buy Me A Coffee, thank you.
Class | Normal | Arbitrary |
---|---|---|
***** | Layout | ***** |
Aspect Ratio | ||
Container | ||
Columns | ||
Break After | ||
Break Before | ||
Break Inside | ||
Box Decoration Break | ||
Box Sizing | ||
Display | ||
Floats | ||
Clear | ||
Isolation | ||
Object Fit | ||
Object Position | ||
Overflow | ||
Overscroll Behavior | ||
Position | ||
Top / Right / Bottom / Left | ||
Visibility | ||
Z-Index | ||
***** | Place Self | ***** |
Flex Basis | ||
Flex Direction | ||
Flex Wrap | ||
Flex | ||
Flex Grow | ||
Flex Shrink | ||
Order | ||
Grid Template Columns | ||
Grid Column Start / End | ||
Grid Template Rows | ||
Grid Row Start / End | ||
Grid Auto Flow | ||
Grid Auto Columns | ||
Grid Auto Rows | ||
Gap | ||
Justify Content | ||
Justify Items | ||
Justify Self | ||
Align Content | ||
Align Items | ||
Align Self | ||
Place Content | ||
Place Items | ||
Place Self | ||
***** | Spacing | ***** |
Padding | ||
Margin | ||
Space Between | ||
***** | Sizing | ***** |
Width | ||
Min-Width | ||
Max-Width | ||
Height | ||
Min-Height | ||
Max-Height | ||
Size | ||
***** | Typography | ***** |
Font Family | ||
Font Size | ||
Font Smoothing | ||
Font Style | ||
Font Weight | ||
Font Variant Numeric | ||
Letter Spacing | ||
Line Clamp | ||
Line Height | ||
List Style Image | ||
List Style Position | ||
List Style Type | ||
Text Align | ||
Text Color | ||
Text Decoration | ||
Text Decoration Color | ||
Text Decoration Style | ||
Text Decoration Thickness | ||
Text Underline Offset | ||
Text Transform | ||
Text Overflow |
|
|
Text Wrap | ||
Text Indent | ||
Vertical Align | ||
Whitespace | ||
Word Break | ||
Hyphens | ||
Content | ||
***** | Backgrounds | ***** |
Background Attachment | ||
Background Clip | ||
Background Color | ||
Background Origin | ||
Background Position | ||
Background Repeat | ||
Background Size | ||
Background Image |
|
|
Gradient Color Stops | ||
***** | Borders | ***** |
Border Radius | ||
Border Width | ||
Border Color | ||
Border Style | ||
Divide Width | ||
Divide Color | ||
Divide Style | ||
Outline Width | ||
Outline Color | ||
Outline Style | ||
Outline Offset | ||
Ring Width | ||
Ring Color | ||
Ring Offset Width | ||
Ring Offset Color | ||
***** | Effects | ***** |
Box Shadow | ||
Box Shadow Color | ||
Opacity | ||
Mix Blend Mode | ||
Background Blend Mode | ||
***** | Filters | ***** |
Blur | ||
Brightness | ||
Contrast | ||
Drop Shadow | ||
Grayscale | ||
Hue Rotate | ||
Invert | ||
Saturate | ||
Sepia | ||
Backdrop Blur | ||
Backdrop Brightness | ||
Backdrop Contrast | ||
Backdrop Grayscale | ||
Backdrop Hue Rotate | ||
Backdrop Invert | ||
Backdrop Opacity | ||
Backdrop Saturate | ||
Backdrop Sepia | ||
***** | Tables | ***** |
Border Collapse | ||
Border Spacing |
|
|
Table Layout | ||
Caption Side | ||
***** | Transitions & Animation | ***** |
Transition Property | ||
Transition Duration | ||
Transition Timing Function | ||
Transition Delay | ||
Animation | ||
***** | Transforms | ***** |
Scale | ||
Rotate | ||
Translate | ||
Skew | ||
Transform Origin | ||
***** | Interactivity | ***** |
Accent Color | ||
Appearance | ||
Cursor | ||
Caret Color | ||
Pointer Events | ||
Resize | ||
Scroll Behavior | ||
Scroll Margin | ||
Scroll Padding | ||
Scroll Snap Align | ||
Scroll Snap Stop | ||
Scroll Snap Type | ||
Touch Action | ||
User Select | ||
Will Change | ||
***** | SVG | ***** |
Fill | ||
Stroke | ||
Stroke Width | ||
***** | Accessibility | ***** |
Screen Readers | ||
Forced Color Adjust |
Modifier | Support | Arbitrary |
---|---|---|
***** | Pseudo-class reference | ***** |
hover | ||
focus | ||
focus-within | ||
focus-visible | ||
active | ||
target | ||
first | ||
last | ||
only | ||
odd | ||
even | ||
first-of-type | ||
last-of-type | ||
only-of-type | ||
empty | ||
disabled | ||
enabled | ||
checked | ||
indeterminate | ||
default | ||
required | ||
valid | ||
invalid | ||
in-range | ||
out-of-range | ||
placeholder-shown | ||
autofill | ||
read-only | ||
group-{modifier} | ||
peer-{modifier} | ||
*-{modifier} | ||
has-{modifier} | ||
***** | Pseudo-elements | ***** |
before | ||
after | ||
placeholder | ||
file | ||
marker | ||
selection | ||
first-line | ||
first-letter | ||
backdrop | ||
***** | Media and feature queries | ***** |
sm | ||
md | ||
lg | ||
xl | ||
2xl | ||
max-sm | ||
max-md | ||
max-lg | ||
max-xl | ||
max-2xl | ||
dark | ||
motion-reduce | ||
contrast-more | ||
contrast-less | ||
forced-colors | ||
portrait | ||
landscape | ||
supports-[...] | ||
aria-* | ||
data-* | ||
rtl and ltr | ||
open | ||
close |