css-responsive-layout Flashcards

1
Q

What is a breakpoint in responsive Web design?

A

Specification when the media query is introduced.

Where the new CSS will be engaged.

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

What is the advantage of using a percentage (e.g. 50%) width instead of a fixed (e.g. px) width for a “column” class in a responsive layout?

A

Scaling is done more appropriately when the webpage is resized.

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

If you introduce CSS rules for a smaller min-width after the styles for a larger min-width in your style sheet, the CSS rules for the smaller min-width will “win”. Why is that?

A

Both selectors have the same amount of specificity, so whatever comes first (depending on source order) will “win”.

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