I'm having a problem with an app.
I'm trying to make the marginLeft of a div id="bubble" vary based on the orientation of the phone or tablet, specifically what angle it's on.
I know I'm supposed to use accelerometer data but I don't know how to get angle data from it or apply said data to the css.