SarcinăBuild a hero. .hero has padding clamp(2rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem), text-align center, min-height 60vh, display flex, flex-direction column, justify-content center, gap var(--space-lg), background linear-gradient(135deg, primary 0%, accent 100%), color white. .hero h1 has font-size clamp(2rem, 6vw + 1rem, 4.5rem), font-weight 800, letter-spacing -0.02em, line-height 1.1, text-wrap balance, max-width 22ch, margin 0 auto. .hero p has font-size clamp(1rem, 2vw + 0.5rem, 1.25rem), opacity 0.9, max-width 50ch, margin 0 auto, text-wrap pretty. .hero .ctas display flex, gap var(--space-md), justify-content center, flex-wrap wrap. @keyframes appear from opacity 0 translateY 20px to opacity 1 translateY 0. Stagger animations on h1, p, ctas (delays 0/0.15/0.30s). reduced-motion override.
Capstone 8: Secțiunea eroi cu animație de intrare
200 XP14 min
Teorie
A landing-page hero that wins attention
- Fluid h1 with text-wrap: balance.
- Subtitle with text-wrap: pretty.
- Two CTAs (primary + secondary).
- Entrance animation: stagger fade + slide.
- All respects prefers-reduced-motion.
🔒
Înregistrează-te pentru a începe să programezi
Teoria e accesibilă tuturor. Editorul, previzualizarea live și verificarea se deblochează cu o probă gratuită de 7 zile — card necesar, anulabilă oricând.
Înregistrare — probă gratuită →Primele 10 lecții din fiecare traseu sunt gratis. Fără card.