Where is need to use inherit? for line-height example

Like for

line-height: inherit;

With

body{line-height: 200%;}

So is inherited from body this way why need to set any element under body line-height: inherit;? As is get from

body

Logic?

https://jsfiddle.net/kazr2pmt/1/

Thanks

can you share the link of your challenge?

https://jsfiddle.net/vfq18dbc/

i can’t really understand your question…

https://jsfiddle.net/kazr2pmt/1/

Not all elements inherit from the body.
https://jsfiddle.net/gvLd0pwu/

1 Like