Created
February 14, 2013 10:54
-
-
Save aurelkurtula/4952022 to your computer and use it in GitHub Desktop.
perspective (not done)
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
/** | |
* perspective (not done) | |
*/ | |
#con | |
{ | |
-webkit-perspective: 400; | |
-webkit-perspective-origin:150px 300px; | |
} | |
.threeD | |
{ | |
-webkit-transform-style: preserve-3d; | |
-webkit-transform: rotateX(40deg); | |
-webkit-transition: all .5s ease-in-out; | |
position:relative; | |
} | |
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
<!-- content to be placed inside <body>…</body> --> | |
<div id="con"> | |
<div class="threeD"> | |
<canvas style=background:gray; height=85 width=300 ></canvas> | |
</div> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment