41
Which of the following selector is used to selects the element that is the root of the document?
Answer & Solution
Answer: Option
D
Solution:
:root {background-color: blue;}
/* sets the background color to blue for the root element */
/* sets the background color to blue for the root element */