direct child in css code example
Example 1: direct child css
selector>direct_child_element_seletor{
rules;
}
Example 2: css immediate child
.parent>.immediate-child {
color: red;
}
selector>direct_child_element_seletor{
rules;
}
.parent>.immediate-child {
color: red;
}