Put in order · HTML and CSS course · Module 7: SASS

CSS Specificity Hierarchy

Arrange the CSS selectors from lowest to highest specificity:

Items to put in order

  • #id (1,0,0)
  • .class (0,1,0)
  • style="" (inline)
  • element (0,0,1)

You can check the correct answer by solving this task in the CodeWorlds game.