Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Emre Dokur
Emre Dokur
3,490 Points

Help needed to build this carousel

Hey guys, my company has given me designs of this carousel, and asked me to build it. As you can see the carousel has a concave shape, and needs to transition on this concave line when the user clicked on left and right. Any ideas about what's the best way to this:

The screenshot is here: (The branding and images are hidden for obvious reasons).

Carousel

Cheers, Emre

1 Answer

Emre Dokur
Emre Dokur
3,490 Points

If anyone is interested here is the demo i managed to built of this carousel http://staging.clients.webling.com.au/_emre/carousel-demo/index.html

I'm using CSS3 Transformation and Transition to animate the pieces on 3D environment. The buttons are controlled by jquery and all they do is, rotate the class names, so CSS can pick them do the animation accordingly. Very easy stuff.

If anyone has any questions, please feel free to post them here.

Cheers, Emre