CSS Responsive Layout Flashcards
What is a breakpoint in responsive Web design?
“point” at which a website’s content and design will adapt in a certain way in order to provide the best possible user experience
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?
50% allows you to resize with the page
and with the parent object size
if it is fixed the object will take too little space if the page shrinks
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?
CSS reads up to down so since it is on the bottom it takes the latest rule so it has a lower min width so it takes more options
source order issue
(rule priority)