Tailwind Css Cheat Sheet Detailed
Tailwind Css Cheat Sheet Detailed
Layout
- w-*/h-*: Width/Height utility classes. (e.g. w-1/2 = 50% width, h-16 = 4rem)
Spacing
- p-*/m-*: Padding/Margin for all sides or individually (px, py, pt, etc.).
Colors
Typography
Position
Responsive Prefixes
- sm: 640px
- md: 768px
- lg: 1024px
- xl: 1280px
- 2xl: 1536px