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

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