css set element to inherit from code example Example: inherit css span { color: blue; } .extra span { color: inherit; }