css-cascade-2 Flashcards
1
Q
What is inheritance?
A
child elements receive the CSS styling from their parent elements
2
Q
Why might CSS include this feature?
A
This cuts down on the amount of code that needs to be written.
3
Q
Is inheritance a good tool to use for styling? If so, on what occasions?
A
Yes, if you want the same font for many inner texts you wont need to apply this style to these elements individually, just on the parent element.