Detect and adapt to various environments — operating systems, browsers, or device types.
Each utility is accompanied by a set of tests that not only verify correctness, but also serve as clear usage examples — allowing you to understand how to use them without diving into the implementation details.
document.documentMode
navigator.standalone
display-mode: standalone
matchMedia