Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 3: Web Design with Cascading Style Sheets (CSS)!

Instruction

Relational Selectors

Relational selectors allow you to style elements based on their relationships with other elements, such as descendants, children, or siblings.

Descendant Selector: Targets all elements that are nested within a specified parent element, regardless of depth.

main li { font-size: 90%; }
ul a { color: green; }

Example: In this code, all &lt;li&gt; elements inside the `<ma...