Adams Immersive
01-26-2009, 03:42 PM
I know, Web apps are so 2008... but this is just for my site, not a real app :)
Despite following numerous examples, my 3D CSS animations for iPhone WebKit all lack perspective.
I wrap the animated elements in a <div> with:
-webkit-transform-style: preserve-3d;
-webkit-perspective: 500;
And for good measure, I put those same properties on the divs that are being directly animated.
No good--things don't look smaller with distance. No perspective.
Any thoughts?
Thanks in advance.
Despite following numerous examples, my 3D CSS animations for iPhone WebKit all lack perspective.
I wrap the animated elements in a <div> with:
-webkit-transform-style: preserve-3d;
-webkit-perspective: 500;
And for good measure, I put those same properties on the divs that are being directly animated.
No good--things don't look smaller with distance. No perspective.
Any thoughts?
Thanks in advance.