The default value you are looking for is:
Initial: auto
http://www.w3.org/TR/CSS2/visudet.html#the-width-property
Note that setting auto will return to default only for some CSS properties. Others have different starting values.
The background-color property, for example, has a default value of transparent .
Initial: transparent
http://www.w3.org/TR/CSS2/colors.html#background
Some properties, such as color , cannot be restored to default because they do not have a known default value.
Initial: depends on user agent
http://www.w3.org/TR/CSS2/colors.html#colors
About canceling inherited CSS in child elements.
Take the font-size property, a property that inherits.
level0 <div style="font-size:36px;"> level1 <div [style="font-size:medium;"]> level2 </div> </div>
By default, the font size level2 inherited from level1 , but if we add the initial value medium , we reset its text size level0 . The only inconvenience is that we cannot ignore only one level of inheritance, therefore, if we added level3 , we would still reset to level0 , not level1 .
source share