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