Aller au contenu principal
Académie
Débutant Quartier du code

Tailwind CSS

Stylisez vite grâce aux classes utilitaires.

Tailwind CSS lets you style a page without leaving your HTML. Small classes such as p-4, flex and text-lg each do one job, and together they build any design. The same markup can lay out left-to-right English and right-to-left Persian.

This track starts from basic HTML and CSS. You will set Tailwind up, learn its scales for spacing, colour and type, build layouts with flex and grid, make them responsive and interactive, lay them out right to left with logical utilities, and add your own design tokens. Then you go one level up with container queries, motion and state variants, and finish by building a bilingual dashboard. Every class you meet is a real Tailwind CSS 4 class, and you will see the CSS behind it.

Leçons
14
Durée
2 h
Niveau
Débutant

Les leçons de ce parcours sont en anglais pour le moment.

  • Bronze disponible
  • Argent disponible
  • Or verrouillé

Envie de faire vos preuves ?

Trois examens vous attendent : Bronze, Argent et Or.

Aller aux examens

Ce que vous saurez faire

  • Set up Tailwind CSS 4 in a project with one CSS import
  • Style any element with spacing, colour, type, border and shadow utilities
  • Build layouts with flex and grid utilities
  • Make interfaces responsive and interactive with md:, hover:, focus-visible: and dark:
  • Lay out Persian and English from the same markup with logical utilities
  • Add your own design tokens with @theme and keep markup tidy with components

L'itinéraire

  1. 1
    Module 1

    Utility first

    The utility-first idea, the setup, the scales for spacing, colour and type, and layout with flex and grid.

    0 / 5
  2. 2
    Module 2

    Real interfaces

    Responsive layouts, hover and focus states, dark mode, right to left with logical utilities, and your own tokens.

    0 / 5
  3. 3
    Module 3

    Next level

    Container queries, motion, styling from data and ARIA state, and a bilingual dashboard project.

    0 / 4

Navigation rapide