Inclined carousel (diagonal) in jQuery and CSS

5

I need to make a carousel tilted (diagonally according to the image) but with transition between the movements.

I've prototyped something in this JSFiddle , but the movement is only working on the "back" button, yet with an abrupt transition on the Y axis. When I click the "next" button, it passes to the next item but in a straight line.

    
asked by anonymous 21.10.2014 / 12:58

1 answer

3

If you do not need native support for Internet Explorer 8, you can use the CSS Transform property:

.carousel{
    transform: rotate(-5deg)
}

link

    
22.10.2014 / 03:05