Beyond Responsive Design: New and Future Media Queries
summary
Survey of concrete media-query features and practical hacks: shows browser support (wide for prefers-color-scheme and prefers-reduced-motion, limited/OS-specific for prefers-contrast and none for prefers-reduced-transparency), demonstrates a seven-line cheap dark mode using filter: invert + hue-rotate (invert twice to fix images), explains forced-colors with color keywords and Chromium emulation for Windows high-contrast testing, outlines image/font/video strategies and a matchMedia JS pattern for prefers-reduced-data, and covers safe-area env vars and interface queries like viewport-fit=cover and pointer/hover.
AI-written summary · about
chapters (26)
- 0:00Introduction to responsive design
- 1:04History of handheld stylesheets
- 2:28Core principles of responsive design
- 3:52User preferences media queries
- 5:18Prefers color scheme dark mode
- 7:25Cheap dark mode implementation
- 9:10Prefers reduced motion
- 11:36Cheap reduced motion fix
- 13:23Prefers contrast and reduced complexity
- 16:38Prefers reduced transparency
- 18:03Inverted colors media query
- 20:51Forced colors and Windows high contrast
- 24:07Styling in forced colors mode
- 27:42Environment media queries
- 28:02Light level media query
- 29:30Network conditions and data usage
- 30:59Prefers reduced data media query
- 32:01Font handling for reduced data
- 34:11Background images and data savings
- 35:57Video handling for reduced data
- 38:02Testing reduced data support
- 40:30Network API and connection types
- 41:15Screen inset and viewport fit
- 42:19CSS environment variables for notches
- 43:02Input device media queries
- 44:49Summary and closing remarks
