how to select immediate child in css code example Example: css immediate child .parent>.immediate-child { color: red; }