Css-Responsive-Layout Flashcards
1
Q
What is a breakpoint in responsive Web design?
A
the “point” at which a website’s content and design will adapt in a certain way in order to provide the best possible user experience
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
Nested elements will stay contained within there parent elements
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
because of the cascading rule of css