Direct Child Selector

Is this possible?

1 Like

Came here to ask this same thing… how is this discussion empty? Seems like something that would be very useful.

> div is not a valid selector. If you want to select direct children of an element, you could use :scope > div, which is a valid selector.