Skip to content

Commit

Permalink
fix(curriculum): add explanation for child combinator (#52403)
Browse files Browse the repository at this point in the history
Co-authored-by: Jessica Wilkins <67210629+jdwilkin4@users.noreply.github.com>
  • Loading branch information
evankart and jdwilkin4 committed Nov 22, 2023
1 parent d1b5165 commit eea074d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ dashedName: step-13

# --description--

The child combinator selector `>` is used between selectors to target only elements that match the second selector and are a direct child of the first selector.

This can be helpful when you have deeply nested elements and want to control the scope of your styling.

Use the `>` selector to target the unordered list elements within the `nav` elements, and use _Flexbox_ to evenly space the children.

# --hints--
Expand Down

0 comments on commit eea074d

Please sign in to comment.