What you will use in this project
- CSS variables and theming
- Gradients and shadows
- Transforms, transitions, animations
- Responsive design with media queries
Complete each step in the editor and watch the result as your page takes shape.
Build a product landing page.
Use gradients, transforms, animations, and a media query.
Medium · +160 XP · CSS HTML
Check code when you’re ready. We grade your work against the step’s rubric and tell you exactly what passed and what still needs work.
This project is broken into 7 steps. Each one has its own pass criterion. Click Check code on every step to verify your progress and earn the full +160 XP.
| # | Step & pass criterion | Weight |
|---|---|---|
| 1 | Define design tokens CSS variables defined in :root and used elsewhere | 15 pts |
| 2 | Body base styles Body has a font-family and uses a CSS variable | 10 pts |
| 3 | Hero gradient .hero uses a linear-gradient background | 15 pts |
| 4 | Hero headline Hero text has text-shadow and font-weight | 10 pts |
| 5 |
Feature cards
|
15 pts |
| 6 | Hover transition .feature:hover uses transform and transition | 20 pts |
| 7 | Phone breakpoint Layout adapts at viewport 600px wide or less | 15 pts |
Sign in to your W3Schools account to unlock this project, earn XP, and track your progress.
Sign in Create accountIf you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com
If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com