Tailwind CSS lets you style an interface directly in your markup with small, composable utility classes. It has become one of the most popular ways to build modern front ends because it keeps design decisions consistent and removes most of the time spent naming and organising CSS. This course teaches Tailwind CSS v4 the way teams actually use it: with a real design system, reusable components and a clean production setup.

What you'll learn

  • The utility-first approach, and why it scales better than it first looks
  • Installing Tailwind CSS v4 with Vite or a framework, and how the new engine works
  • CSS-first configuration with @theme: colours, fonts, spacing and breakpoints as design tokens
  • Layout with flex and grid utilities, spacing scales and sizing
  • Responsive design with breakpoint and container query variants
  • State variants: hover, focus-visible, disabled, group-* and peer-*
  • Dark mode and multiple themes using CSS custom properties
  • Extracting components without losing the benefits: framework components, @utility and when @apply makes sense
  • Forms, typography and accessible focus styles
  • Keeping class lists readable and builds small for production

Who it's for

  • Beginners who know some HTML and CSS and want a faster way to build polished pages
  • Developers moving a project from hand-written CSS or an older Tailwind version to v4
  • Designers who want to turn their designs into working, consistent interfaces

Prerequisites

  • Basic HTML and CSS: elements, selectors and the box model (see HTML & CSS Fundamentals)
  • Comfortable using a terminal and installing packages with npm
  • Familiarity with a component framework helps but is not required

Outcomes

By the end of this course you will be able to:

  1. Set up Tailwind CSS v4 in a new or existing project and configure it with your own design tokens.
  2. Build responsive, accessible layouts and components quickly without writing custom CSS for every case.
  3. Add dark mode and theming that stays consistent across a whole product.
  4. Organise utility classes and components so a team can maintain them.

Projects you'll build

  • Design-token style guide: Define a brand's colours, fonts, spacing and breakpoints with @theme and build a style guide page from them. Practises v4 configuration and tokens.
  • Responsive landing page: Build a marketing page from a Figma design with responsive navigation, a hero, a feature grid and a footer. Practises layout, responsive variants and accessible focus states.
  • Dashboard UI with dark mode: A dashboard with a sidebar, cards, tables and a form, supporting light and dark themes through CSS variables. Practises components, container queries and theming.

Tools you'll use

  • Tailwind CSS v4
  • Vite with the @tailwindcss/vite plugin
  • Tailwind CSS IntelliSense for VS Code
  • prettier-plugin-tailwindcss
  • @tailwindcss/forms and @tailwindcss/typography
  • Browser developer tools
  • Figma for reading designs

Course outline

ModuleTopic
1Utility-first CSS: the idea and the trade-offs
2Installing Tailwind CSS v4 and the build pipeline
3Design tokens with @theme
4Spacing, sizing and typography utilities
5Flexbox and Grid layouts
6Responsive design and container queries
7States, variants, group and peer
8Dark mode and multi-theme support
9Components, @utility and avoiding repetition
10Forms, accessibility and focus styles
11Upgrading from Tailwind v3 and production builds
12Project: a responsive landing page and dashboard UI

FAQ

Should I learn plain CSS before Tailwind?

You should know the basics, because Tailwind is still CSS underneath. Understanding the box model, Flexbox and the cascade makes the utilities far easier to reason about and debug.

Does Tailwind make HTML messy?

Long class lists can be hard to read if left unchecked. We cover the habits that keep them manageable: extracting components, consistent ordering with the official Prettier plugin, and moving repeated patterns into your design tokens.

Can I use Tailwind with React, Vue or WordPress?

Yes. Tailwind works with any setup that produces HTML. Examples use plain HTML and a component framework, and the same ideas carry over to React & TypeScript Fundamentals or a WordPress theme.

What goes wrong when upgrading from v3?

Looking for tailwind.config.js options that now live in CSS, missing renamed utilities, and relying on default border and ring colours that changed. The official upgrade tool handles much of this; we show how to check what it misses.

How do I join?

Get in touch and we'll share the current format, schedule and enrolment details.