The newly published @w3c #CandidateRecommendation "Device Posture API" allows #WebApps to request and be notified of changes of the posture of a device #timetoimplement
w3.org/TR/device-posture/
Device posture refers to its physical position, detected via sensors. With foldable devices, understanding posture is key for responsive design, especially when the device isn’t fully flat.
Read the explainer: github.com/w3c/device-posture/…
Feedback welcome: github.com/w3c/device-posture/
GitHub - w3c/device-posture: Device Posture API
Device Posture API. Contribute to w3c/device-posture development by creating an account on GitHub.GitHub