each child css code example
Example 1: css affect all child elements
div.class, div.class > * {
// CSS Property
}
Example 2: css all children of type
/* Affects all a inside the #nav element: */
#nav a{
color: black;
}
div.class, div.class > * {
// CSS Property
}
/* Affects all a inside the #nav element: */
#nav a{
color: black;
}