immediate child selector css code example
Example 1: css select all siblings after element
/*To match to any sibling element after the selector on the left,
use the tilde symbol '~'. This is called the general sibling combinator. */
h1 ~ p {
color: black;
}
Example 2: css immediate child
.parent>.immediate-child {
color: red;
}