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