how to select all children css code example
Example 1: how to target all child elements css
.wrapper * {
color: blue;
margin: 0 100px; /* Only for demo */
}
.myTestClass > * {
color:red;
margin: 0 20px;
}
Example 2: css select all immediate children
.parent > *