Home / CSE MCQs / CSS MCQs :: Discussion

Discussion :: CSS MCQs

  1. Which of the following selector selects elements that do not match the selector s?
  2. A.
    :!(s)
    B.
    :nth-child(s)
    C.
    :not(s)
    D.
    none of the above

    View Answer

    Workspace

    Answer : Option C

    Explanation :

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


Be The First To Comment