child item css select code example
Example 1: child css
p:nth-child(2)
{
background: red;
}
Example 2: css affect all child elements
div.class, div.class > * {
// CSS Property
}
p:nth-child(2)
{
background: red;
}
div.class, div.class > * {
// CSS Property
}