Rotate an image based on (mobile) device orientation


#1

Is it possible to have an image rotate based on the devices orientation? Basically I’d like to have the top of an html element alway’s point north.


(Hans-Gerd Claßen) #2

a [link][1]

you’re to grab the alpha-channel
[1]: http://t3n.de/news/device-orientation-neigung-position-mobilgeraten-343285/