Lessons
Lessons
Tailwind lets you style a page with small classes right in the HTML. You will build a whole website for a cat shelter, for phones and computers, in light and dark.
Lessons
Lesson 1
Turn Tailwind on with @import and style elements with classes like text-center and font-bold.
Worth 90 XP
Lesson 2
Pick palette colors like text-orange-600 and bg-stone-50, and set font size and weight.
Worth 130 XP
Lesson 3
Add padding and margins with p-6 and mt-4, and center a card with max-w-sm and mx-auto.
Worth 85 XP
Checkpoint
Turn a pancake recipe into a centered white card with colors, readable text and spacing.
Worth 30 XP

Lesson 5
Give cards borders, rounded-2xl corners and shadows, and crop pictures with object-cover.
Worth 100 XP
Lesson 6
Lay out a page with flex, justify-between and grid-cols-2, and pin a header with sticky.
Worth 130 XP
Checkpoint
Build a photo contest gallery: cards in two columns and a badge on the winning photo.
Worth 30 XP

Lesson 8
Make buttons and form fields react to visitors with hover:, focus: and disabled: styles.
Worth 95 XP
Lesson 9
Start with the phone layout, then adapt it to wider screens with md: and lg: prefixes.
Worth 85 XP
Checkpoint
Finish a cat café's site: a striped price list, a booking form and a layout for every screen.
Worth 30 XP

Lesson 11
Give a page a dark version with dark: classes, switched on and off with a button.
Worth 80 XP
Lesson 12
Add your own colors and fonts to @theme, and make new classes with @apply and @utility.
Worth 95 XP
Lesson 13
Style a cat shelter's home page from plain HTML, for phones and computers, in light and dark.
Worth 110 XP

Tailwind CSS lets you style a page with small classes written straight in the HTML. The course covers colors and text, spacing and sizing, borders and shadows, Flexbox, Grid and position, hover and focus states, responsive design, dark mode, and how to customize Tailwind for your own design.
It's meant for those who know HTML and CSS. You style a recipe card, a photo contest and a cat café, and the final project is the whole home page of a cat shelter, from the header to the footer.