Created
May 8, 2012 12:26
-
-
Save maxhoffmann/2634562 to your computer and use it in GitHub Desktop.
Flipboard Page 3D
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
| /** | |
| * Flipboard Page 3D | |
| */ | |
| body { | |
| background: #eee; | |
| } | |
| .container { | |
| position: relative; | |
| height: 480px; | |
| width: 320px; | |
| background: white; | |
| } | |
| .page { | |
| top: 240px; | |
| position: absolute; | |
| width: 100%; | |
| height: 50%; | |
| } | |
| .page > div { | |
| display: block; | |
| height: 100%; | |
| width: 100%; | |
| position: absolute; | |
| -webkit-transform-style: preserve-3d; | |
| } |
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
| <div class="container"> | |
| <div class="page"> | |
| <div class="front" style="-webkit-transform: rotateX(10deg)">Seite 1 Front</div> | |
| <div class="back" style="-webkit-transform: rotateX(-180deg)">Seite 1 Back</div> | |
| </div> | |
| </div> |
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
| {"view":"split-vertical","fontsize":"90","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment