Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 446 Bytes

prefers-reduced-data.md

File metadata and controls

13 lines (9 loc) · 446 Bytes

The prefers-reduced-data CSS media feature is used to detect if the user has requested the web content that consumes less internet traffic.

Code example

  /* Stuff for reduced data preferences */
@media (prefers-reduced-data: no-preference) {}

  /* Stuff for no data preferences */
@media (prefers-reduced-data: reduce) {}