Skip to content

Instantly share code, notes, and snippets.

@aurelkurtula
Created February 14, 2013 10:54
Show Gist options
  • Save aurelkurtula/4952022 to your computer and use it in GitHub Desktop.
Save aurelkurtula/4952022 to your computer and use it in GitHub Desktop.
perspective (not done)
/**
* 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;
}
<!-- content to be placed inside <body>…</body> -->
<div id="con">
<div class="threeD">
<canvas style=background:gray; height=85 width=300 ></canvas>
</div>
</div>
// alert('Hello world!');
{"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