css-cascade Flashcards

1
Q

What purpose does the CSS Cascade serve?

A

The CSS cascade algorithm’s job is to select CSS declarations in order to determine the correct values for CSS properties

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

What is source order?

A

at a very simple level this means that the order of CSS rules matter; when two rules apply that have equal specificity the one that comes last in the CSS is the one that will be used

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

Font-family, adjust font-family for individual elements, but most commonly will be used with mobile responsiveness.

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