css the children code example
Example 1: child css
p:nth-child(2)
{
background: red;
}
Example 2: direct child css
selector>direct_child_element_seletor{
rules;
}
p:nth-child(2)
{
background: red;
}
selector>direct_child_element_seletor{
rules;
}