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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly