What happens to the inheritance of my 2 properties (color and backgroundColor)? What kind of inheritance is it? Thanks you. | Sololearn: Learn to code for FREE!

0

What happens to the inheritance of my 2 properties (color and backgroundColor)? What kind of inheritance is it? Thanks you.

Inheritance properties. https://code.sololearn.com/W0KOCPfWMO3P/?ref=app

7/22/2021 2:56:00 AM

Malick Diagne

1 Answer

New Answer

+2

Inheritance refers to the way properties flow through the page. A child element will generally take on the characteristics of the parent element unless defined otherwise. in this case the li inherit the color property from their father ul