Diagonal Slideshow

A slideshow with a “diagonal” look and three visible slides. A decorative background element expands to fullscreen when opening the content preview.

Continuing with our exploration of slideshow ideas, we’d like to share another slideshow layout with you. This time we have a diagonal type of look where the current slide is in the center of the page and the previous and next images can be seen laterally, one in the top left corner and one in the bottom right corner of the page. When clicking on the current slide, the decorative background element expands to fullscreen, the image moves to the left side of the screen and the content animates in. The animations are powered by TweenMax.

The demo is kindly sponsored by HelloSign API: Because your time matters. If you would like to sponsor one of our demos, find out more here.

Attention: Note that we use modern CSS properties that might not be supported in older browsers.

The slideshow with the three visible slides looks as follows:


When open, the content preview looks as follows:

When we navigate, everything moves diagonally. We also have a subtle hover effect on the current slide. When clicking on the current slide, the deco element expands to fullscreen, the image moves to the left and the content appears.


We hope you like this slideshow and find it useful!

References and Credits

Tagged with:

Manoela Ilic

Manoela is the main tinkerer at Codrops. With a background in coding and passion for all things design, she creates web experiments and keeps frontend professionals informed about the latest trends.

Stay in the loop: Get your dose of frontend twice a week

👾 Hey! Looking for the latest in frontend? Twice a week, we'll deliver the freshest frontend news, website inspo, cool code demos, videos and UI animations right to your inbox.

Zero fluff, all quality, to make your Mondays and Thursdays more creative!