dai11y 18/03/2020

Your daily frequent11y newsletter, brought to you by @ChrisBAshton:

New media queries you need to know

  • Article by Kristofer Selbekk, suggesting several up-and-coming media queries you can use to cater for all users. There are some useful boolean ones: prefers-reduced-motion, prefers-reduced-data, prefers-reduced-transparency, prefers-contrast. But there are also some variable ones: light-level to accommodate people in bright sunlight or in bed at night, for example. Finally, a @custom-media keyword is coming, which could be used to script your own media queries, such as @media(--logged-in) or @media(--no-connection).

Prefer longer newsletters? You can subscribe to week11y, fortnight11y or even month11y updates! Every newsletter gets the same content; it is your choice to have short, regular emails or longer, less frequent ones. Curated with ♥ by developer @ChrisBAshton.

Loading...