3D Effect for Mobile App Showcase

A fancy 3D effect for a mobile app showcase where the app screens animate to a layered stack.


View demo Download source

Today we’d like to share an experimental 3D effect with you. It involves a 3D mobile device and some mobile app screenshots. When clicking on a toggle button, we’ll animate the mobie device to rotate and we’ll move each screen so that we have a layered view in the end. You have surely seen this kind of presentation of apps before and we thought it might be fun to do it in CSS.

Please note: this only works as intended in browsers that support the respective CSS properties. Modern browsers only!

The idea is to position the mobile device with an slight initial rotation:


Then we apply a class to the wrapper which will make the device transition to a second position where the screens move out in a layer stack. Effect one is the following:


The second effect has a different rotation:


And the third one will also show some labels:


The screens are anchors so that one can actually link them to eventual info pages. There are a lot of possibilities here, go nuts.

There is a SCSS file included for dealing with some dimension variables of the device and some other variables.

The 3D phone includes a technique for the rounded corners involving pseudo elements for the sides, first implemented by brilliant web designer and developer Jonathan Levaillant.

We hope you enjoy the effects and that they give you some inspiration.

View demo Download source


Tagged with:

ML is a freelance web designer and developer with a passion for interaction design. She studied Cognitive Science and Computational Logic and has a weakness for the smell of freshly ground peppercorns.

View all contributions by

Website: http://www.codrops.com

Related Articles

Receive our bi-weekly Collective or blog updates right in your inbox.

Which newsletter would you like to receive?

CSS Reference

Learn about all important CSS properties from the basics with our extensive and easy-to-read CSS Reference.

It doesn't matter if you are a beginner or intermediate, start learning CSS now.