Home > Blockchain >  What does this documentation syntax mean in MDN for : inherit css tag
What does this documentation syntax mean in MDN for : inherit css tag

Time:11-30

I have a basic question , refer to section as an example

Constituent properties in list-style

list-style**: inherit;** , I see :inherit so how do I interpret this statement of : inherit wherever it gets mentioned in mdn docs in a layman/ generic form? I also see Inherited value as Yes in Formal definition section so is it connected to :inherit in any way or not.

CodePudding user response:

From MDN

The inherit CSS keyword causes the element to take the computed value of the property from its parent element. It can be applied to any CSS property, including the CSS shorthand property all.

  •  Tags:  
  • css
  • Related