css-responsive-layout Flashcards

1
Q

What is abreakpointin responsive Web design?

A

The points at which a media query is introduced are known as breakpoints.
where the content starts to break (restructure) in some way

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%)widthinstead of a fixed (e.g.px)widthfor a “column” class in a responsive layout?

A

More fluid. be able to adjust the size of things relative to the space available.

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

If you introduce CSS rules for a smallermin-widthafterthe styles for a largermin-widthin your style sheet, the CSS rules for thesmallermin-widthwill “win”. Why is that?

A

Because of the source order the same property.

if you apply two rules that collide to the same elements, it will choose the last one that was declared

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