Created
April 2, 2012 10:43
-
-
Save hydrangeas/2282490 to your computer and use it in GitHub Desktop.
2012-04-02_branch01
This file contains 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
#container{ | |
margin: 50px 0 0 200px; | |
width : 200px; | |
height: 200px; | |
display: block; | |
border: #ccc 1px solid; | |
position: relative; | |
-webkit-perspective-origin-x: 100px; | |
-webkit-perspective-origin-y: 100px; | |
-webkit-perspective: 180; | |
} | |
#stage{ | |
-webkit-transform-style: preserve-3d; | |
} | |
#shape{ | |
position: absolute; | |
-webkit-transform-style: preserve-3d; | |
-webkit-transform: translateZ(180px) rotateY(180deg); | |
} | |
#panel{ | |
width : 200px; | |
height: 200px; | |
display: block; | |
background-color: blue; | |
position: absolute; | |
-webkit-transform-style: preserve-3d; | |
-webkit-transform: rotateY(180deg) translateZ(-250px); | |
} |
This file contains 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
#container{ | |
margin: 50px 0 0 200px; | |
width : 200px; | |
height: 200px; | |
display: block; | |
border: #ccc 1px solid; | |
position: relative; | |
-webkit-perspective-origin-x: 100px; | |
-webkit-perspective-origin-y: 100px; | |
-webkit-perspective: 180; | |
} | |
#stage{ | |
-webkit-transform-style: preserve-3d; | |
} | |
#shape{ | |
position: absolute; | |
-webkit-transform-style: preserve-3d; | |
-webkit-transform: translateZ(179px) rotateY(180deg); | |
} | |
#panel{ | |
width : 200px; | |
height: 200px; | |
display: block; | |
background-color: blue; | |
position: absolute; | |
-webkit-transform-style: preserve-3d; | |
-webkit-transform: rotateY(180deg) translateZ(-250px); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment