Complete the code to select all p elements inside a section.
section [1] p { color: blue; }The space selector selects all p elements inside section at any depth, avoiding unnecessary deep nesting.
Complete the code to style all li elements inside a nav without deep nesting.
nav [1] li { font-weight: bold; }Using a space selects all li elements inside nav at any depth, avoiding deep nesting.
Fix the error in the selector to avoid deep nesting and select all span inside article.
article [1] div span { color: red; }Using a space between selectors selects all span elements inside article through any depth, avoiding unnecessary deep nesting.
Fill both blanks to select all button elements inside form without deep nesting.
form [1] div [2] button { background-color: green; }
Using spaces for both blanks selects all button elements inside form through any depth, avoiding deep nesting.
Fill all three blanks to create a flat selector for all input inside section.
section [1] div [2] form [3] input { border: 1px solid black; }
Using spaces for all blanks selects all input elements inside section at any depth, avoiding deep nesting.