Exercice 1 - Réponses

1. Sélecteurs :

2. Spécificité :

Ordre croissant :

p → .text → p.text → #main → #main .text p

Si même spécificité → la dernière règle gagne

Éviter !important → rend le code difficile à maintenir