Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design

Patrick Metcalfe
PLUS
Patrick Metcalfe
Courses Plus Student 7,563 Points

Apple CarPlay Parallax

CarPlay Website Apple just announced CarPlay(pretty straight forward what it does) and the website for it has parallax on iPad and iPhone. I'm trying to investigate how they did this(js or css) but as I only have my ipad with me it very hard for me to see how they did. If anyone has any guesses or insight into their method I think it would be helpful.

1 Answer

Bob Wassermann
Bob Wassermann
4,636 Points

Probably something like this: http://wagerfield.github.io/parallax/

Whoops, link posted above is for your mobile device's gyroscope (pretty cool too). But, this is the one you're looking for: http://jalxob.com/cool-kitten/