css for child elements class code example Example: css immediate child .parent>.immediate-child { color: red; }