Sharpen your Tailwind CSS utility class knowledge with this interactive quiz—perfect for frontend developers and design enthusiasts!
mt-4: margin-top: 1remp-2: padding on all sides (0.5rem)mx-auto: horizontal margin autoflex: enables flexboxjustify-between: space between itemsgrid-cols-3: three equal-width columnsbg-blue-500: background color bluetext-red-600: text color redborder-green-300: border color light green| Utility | Class | CSS Equivalent |
|---|---|---|
| Margin Top | mt-4 |
margin-top: 1rem |
| Padding All | p-2 |
padding: 0.5rem |
| Background | bg-blue-500 |
background-color: #3b82f6 |
| Text Alignment | text-center |
text-align: center |
| Display | flex, grid |
display: flex/grid |
| Font Weight | font-bold |
font-weight: 700 |