Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Parallax works on mobile. Been there, done that.
iOS renders it pretty neatly. Especially with the latest devices, it seems almost like a native app.
Android has some issues rendering: when you’re touching and moving your finger, it won’t update the values, but once it stops scrolling, it updates. -
Just tell them a parallax website will cost 20k and a normal one would cost 5k problem solved.
-
Oh and with that 20k website you will still have to download something before they can view it.
-
@azous pseudo 3D movement - like image layers moving at different speed when you scroll
-
Parralaxing is a pretty straight forward effect... Why wouldn't it work?
Unless I'm thinking of the wrong kind of parallax effect. -
Huuugo25057yDid they mean gyroscope and compass based parallax? You can't have that in the browser. But scrolling based one works since the start
-
@Huuugo DeviceOrientationEvent?
Supported by Android Native Webview, Chrome Mobile, Edge Mobile, Firefox Mobile ...
https://developer.mozilla.org/en-US... -
Well someone, anyone, point me in the right direction because from what I’ve seen, scroll based parallax is turned off on mobile devices.
-
@koolnerd890 Some JS techniques don't play nice on all devices, especially those who depend on mouse position or hover. Scroll parallax should generally work.
What should work in all modern browsers is a pure css approach
https://codepen.io/CodeXYZ/pen/...
Related Rants
Them: “We want parallax on our website on mobile!”
Me: “Parallax does not work in a mobile web browser.”
Them: “But it does here!” Shows me an iOS app that does parallax.
Me: “That’s in an iOS app. Not a mobile web browser”.
Them: “ Oh well. I’m sure you’ll figure it out!”
😐😐😐😐😐.
Welp.
rant
fuck
fail
help me