🏠 New in Low Baseline Support: Screen orientation

March 27, 2023

caniuse · mdn · spec

The screen.orientation API gets information about the orientation of the viewport, such as landscape or portrait. With this API, you can adapt an application’s layout or behavior in response to changes in orientation.

Source features