Aller au contenu principal
← 🎨 CSS as a design system·Module B9 · Leçon 11
TâcheBuild the full landing. @layer tokens, base, components. tokens: full color/space/type system. base: body reset + font. components: .nav (header), .hero (gradient + entrance), .pricing (3 cards, Pro featured), .footer (4 cols). One @media (max-width: 640px) hides nav-links. Use container, clamp, OKLCH everywhere. Animations respect reduced-motion. Include: nav (logo CodeMentor + 3 links + CTA), hero (h1 'Learn frontend the modern way' + p + 2 CTAs with gradient bg), pricing (Free/Pro/Team — Pro featured), footer (Brand + 3 columns + copyright bottom).

Capstone 11 : Page de destination complète – combinez tout

300 XP20 min
Théorie

The final assembly

Build a complete landing page that combines EVERY component from B9 + every concept from B1-B8:

  • Nav header (B9-05)
  • Hero with entrance animation (B9-08)
  • Pricing-card row (B9-07)
  • Footer (B9-09)
  • All tied together with the token system (B9-01)
  • Using @layer architecture (B8)
  • OKLCH colors (B5)
  • Container queries (B6)
  • Fluid type with clamp (B4)
  • Polish: hover states, focus rings, reduced-motion (B7)

This is the "ship-ready" landing page that every product needs.

🔒

Inscris-toi pour coder

La théorie est ouverte à tous. L'éditeur, l'aperçu live et le check se débloquent avec un essai gratuit de 7 jours — carte requise, annulable à tout moment.

S'inscrire — essai gratuit →

Les 10 premières leçons de chaque parcours sont gratuites. Pas de carte requise.

← PrécédentLeçon suivante →

Recevez une astuce Python ou web par jour — par email

Court, écrit à la main, sans spam. Désabonnement en un clic.