Join James Williamson for an in-depth discussion in this video Understanding media queries, part of Responsive Design Fundamentals.
- View Offline
Media queries are an important part of responsive design, as they allow you to write styles that…respond to changes in things like screen size or orientation.…They're not really a new feature of CSS, but rather, an extension of the existing media declarations.…Through media declarations, CSS has allowed us to filter style application by media type…for quite some time now.…In the past, we have been able to define which styles apply to screen devices, projectors,…printers, and handheld devices through some pretty basic syntax.…
While these capabilities were extremely handy in making sure that you could write separate…style sheets for screen and print, they never really realized their ultimate goal of defining…multiple device types.…Mobile manufacturers for the most part, shunned the handheld media type due to its limited…use and their desire to give users the full web experience.…That left a huge gap, in terms of a designer's ability to write styles that changed based…on the type of device being used.…
- What is responsive design?
- Controlling viewports
- Designing for multiple screen densities
- Working with media queries
- Using fluid grids
- Building responsive forms
- Optimizing site performance
- Building responsive mockups
- Developing a content strategy
- Designing for mobile capabilities
- Creating flexible HTML
- Testing responsive designs