Last active
August 29, 2015 14:14
-
-
Save ephbaum/e36e19d72af28c887131 to your computer and use it in GitHub Desktop.
use 3d page transitions for mobile ui
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.page { | |
position: absolute;top: 0;left: 0;width: 100%;height: 100%; | |
transform: translate3d(0, 0, 0); | |
} | |
.left { | |
transform: translate3d(-100%, 0, 0); | |
} | |
.center { | |
transform: translate3d(0, 0, 0); | |
} | |
.right { | |
transform: translate3d(100%, 0, 0); | |
} | |
.transition { | |
transition-duration: .25s; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment