css-responsive-layout Flashcards

1
Q

What is a breakpoint in responsive Web design?

A

a better approach is to change the design at the size where the content starts to break in some way.
That’s the point at which you want to use a media query to change the design to a better one for the space you have available. This approach means that it doesn’t matter what the exact dimensions are of the device being used, every range is catered for. The points at which a media query is introduced are known as breakpoints.

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

it can be more responsive to the width

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

when specificity is equal, we go be order

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