css-cascade-1 Flashcards
1
Q
What purpose does the CSS Cascade serve?
A
The purpose is to determine what style is applied to an HTML element.
2
Q
What is source order?
A
The order that the CSS code is written. CSS is read from top to bottom. The styling written last will be applied.
3
Q
In what situations might you need to apply styling to a single element multiple times in one stylesheet?
A
Mobile.
If the site is used on a mobile device you can override the style for desktop devices