Question · HTML and CSS course · Module 9: Modern CSS
Difference Between :is() and :where()
What is the difference between :is() and :where()?
Answer options
- :where() always has specificity 0, :is() takes the specificity of the highest selector
- :where() is faster
- :where() only works with classes
- There is no difference, they are synonyms
You can check the correct answer by solving this task in the CodeWorlds game.