Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

In CSS, what does the :where() pseudo-class contribute to specificity?

  1. A Zero specificity
  2. B The same as a class
  3. C The same as an ID
  4. D Double the specificity of its argument
Answer

Zero specificity

Because :where() always has zero specificity, it is ideal for defining defaults that are easy to override. :is() takes the specificity of its most specific argument.

All Front end Development MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as