How to Create 3D Rotating Gallery with CSS and Jquery

Today I found a wonderful code snippet in Jquery and CSS 3 to create simple 3D rotating gallery. You can use following  snippet to display your portfolio or images in 3D rotation manner with next and previous button. I relay found this  3D Rotating Gallery  makes your web portal more attractive and dynamic. The 3D effect makes image gallery more attractive and provides a better user interface, You can not only rotate images but also rotate whole div items easily using following code snippet.
3d-rotation-gallery

3D Rotating Carousel with CSS and Jquery

The following HTML, CSS & Jquery is used to create a 3D rotating carousel.

HTML

This HTML holds all the div items of the 3D rotating carousel.


CSS

The following CSS adds rotation and 3D effect to the div items.



Jquery

The following Jquery runs rotations and makes 3D rotation actionable on click of next and previous button.

 

DEMO / DOWNLOAD