Answered Sep 01, 2022
Answer: Option 3
:default {background-color: red;} /* sets the background color of a default button like a submit to red */
Answer: Option 1 Let'
Answer: Option 2 Example: p[title$="!"] {color: red;}
Answer: Option 3 Example: :checked {color: blue;}
Answer: Option 1 Example: :default {background-color: red;}
Answer: Option 3 Example: input:enabled {background-color:white;}
Answer: Option 3 Example: *:not(h1) {color: black;}
Answer: Option 2 p ~ strong {font-style: italic;} /* sets the font style to italic on all strong tags that have a p tag as a preceding sibling */
Answer: Option 4 strong:first-of-type {font-size: bigger;} /* sets the font size bigger on the first strong tag of its parent */
Answer: Option 1 div:nth-child(2) {background-color: red;} /* sets the background color to red if the div is its parent’s second child */
Answer: Option 4 :root {background-color: blue;} /* sets the background color to blue for the root element */
Install the Bissoy app to consult with a doctor.
Log in to ask questions, provide answers, or leave comments.