+ 1
What the inherit value do ?
Do we use it everytime with < div>
2 Respostas
0
As u know HTML tags are like parents and children, when a tag is inside another one, we call it his child. Not only for <div> it is a rule for every HTML tag that exist.
Now when a parent has a CSS parameter, the child automatically get the same (like for example if a parent has blue eyes the child automatically will have blue eyes).
Unless we change the DNA of the child (means that we overwrite what automatically has with another CSS parameters ).
0
From its name it inherits the properties of its parents.