CSS
Apprendre
CSS
0 / 50
Leçon 1
Éditeur
CSS
HTML
body { background: #f0f4ff; color: #1a1a2e; font-family: sans-serif; text-align: center; padding: 40px; } h1 { color: #5b47e0; font-size: 2rem; margin-bottom: 16px; } p { color: #5a5a7a; line-height: 1.7; } button { margin-top: 20px; padding: 10px 24px; background: #5b47e0; color: white; border: none; border-radius: 8px; cursor: pointer; font-size: 15px; }
<h1>Bonjour CSS !</h1> <p>Modifie le CSS à gauche pour voir les changements ici.</p> <button>Clique-moi</button>
▸ Aperçu en direct