Go back to the article
Screen Orientation API
API not supported
The orientation of the device is
unavailable
Lock the device in:
portrait
landscape
portrait-primary
portrait-secondary
landscape-primary
landscape-secondary
Unlock!
Demo created by
Aurelio De Rosa
(
@AurelioDeRosa
).
This demo is part of the
HTML5 API demos repository
.