The direct descendant combinator, written as >, selects only the immediate children of an element. Unlike a descendant selector, it does not reach grandchildren or deeper nested elements. section 1.6.2
Style only first-level list items
Given a nested list, .list > li { color: crimson; } colors the direct children of the element with the list class. Nested li elements remain unaffected because they are grandchildren. The selector .list > li ul { color: initial; } can explicitly restore the nested list’s color. section 1.6.2
Use the relationship diagram to distinguish parents, children, grandchildren, and other element relationships before choosing a combinator. section 1.6.2
