Put in order · Next.js course · Module 3: Styling and Visual Optimization
CSS specificity order from lowest
Arrange CSS selectors from lowest to highest specificity:
Items to put in order
- element (p, div)
- ID (#id)
- class (.class)
- !important
- inline style
You can check the correct answer by solving this task in the CodeWorlds game.