why do we need inherit ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why do we need inherit ?

if this rule in CSS works by default

23rd Jul 2016, 6:12 AM
Igor Filimonchuk
Igor Filimonchuk - avatar
3 Answers
0
inherit value means style property comes from its ancestors tag, what you have already defined
23rd Jul 2016, 12:52 PM
Navneet kumar
Navneet kumar - avatar
0
but this function is set by default
23rd Jul 2016, 4:11 PM
Igor Filimonchuk
Igor Filimonchuk - avatar
- 3
h
23rd Jul 2016, 6:36 AM
pentest_za_minet