CSS Media Queries Flashcards
What is a breakpoint in responsive Web design?
the point where the site’s content will adapt to the user’s screen, giving the best user experience possible.
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?
fixed values such as PX will not adapt to different sized screens, messing up the user experience
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?
because the browser will hit the smaller numerical width first as it expands.
Give two examples of media features that you can query in an @media rule.
min/max width, min/max height, and many more including orientation, etc.
Which HTML meta tag is used in mobile-responsive web pages?
meta tag