We know that CSS stands for Cascading Style Sheets. But why actually are they called cascading?
The point is, that styles for an element can be defined in several places: in a single style file or in different style files.
The browser finds all CSS rules affecting a given element; after that, it combines them to result in the final list of properties for this particular element. Property combination is based on strict rules dependent on priority and specificity.
The word "cascading" points at the above-mentioned mechanism of combining styles from different CSS rules.
In this task, you will combine styles for a single paragraph.
- To the CSS rule for the
ptag, add property
- Add to the CSS rule for the
- In the HTML Editor, add the
truthclass to the second paragraph.