what is the diff in normal and inherit font varient | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

what is the diff in normal and inherit font varient

28th Jul 2016, 9:36 AM
priyam chopra
priyam chopra - avatar
2 Answers
+ 2
inherit takes the value from the parent. If the parent's font-variant is for example italic, the child will also take it as italic.
9th Aug 2016, 2:57 PM
James Flanders
0
ok thanks but what if a child ? the next paragraph for example ? <p> parent </p> <p> child ? </p>
1st Nov 2016, 9:59 AM
Gourgaud
Gourgaud - avatar