Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

What is the specificity of the following selectors:

For more information, see SpeciFISHity, the specificity cheat sheet featuring plankton, fish, and sharks.

  1. --p
  2. --.important
  3. --#unique
  4. --a:hover
  5. --li.list-item
  6. --div#mainNav
  7. --div[id="mainNav"]
  8. --li:nth-of-type(2n+3)
  9. --body > header
  10. --li:nth-of-type(5) + li
  11. --header:not(#main)
  12. --.invalid.invalid.invalid
  13. --#thirdParty#thirdParty#thirdParty
  14. --#why #would #this b .necessary
  15. --li:where(:nth-of-type(2n+3))
  16. --li:is(:nth-of-type(2n+3))