select parent element with css only selector code example
Example: css only select parent
.list > ul > li { ... }
/* The > operator selects only elements that are direct children of the element(s) before it. */
.list > ul > li { ... }
/* The > operator selects only elements that are direct children of the element(s) before it. */