Question discussion

Which of the following selector selects elements that do not match the selector s?

296273Medium 1 reply 721 views
0
Which of the following selector selects elements that do not match the selector s?
  • A:!(s)
  • B:nth-child(s)
  • C:not(s)
  • Dnone of the mentioned
Correct answer: C

Discussion 1

0
CCommunity
:not(s)

Example: *:not(h1) {color: black;}