Some CSS properties will be inherited by child elements if they're not set in element specifically.
To put this into perspective, if only one element has colour, they all take the Colour.
It inherits the closest property of the parent, how ever not every element will inherit every property for example with colours on buttons and inputs.
Komentarze