Skip to content

Instantly share code, notes, and snippets.

@DevinClark
Created February 3, 2012 22:01
Show Gist options
  • Save DevinClark/1732972 to your computer and use it in GitHub Desktop.
Save DevinClark/1732972 to your computer and use it in GitHub Desktop.
Loading dot dot dot
/*
Loading dot dot dot
*/
body {
padding: 100px;
font-size: 62.5%;
width: 400px;
}
.skew-wrap {
perspective: 400px;
}
.skew {
width: 400px;
height: 400px;
background: #ff0077;
-webkit-transform: rotateX(25deg);
-moz-transform: rotateX(25deg);
-o-transform: rotateX(25deg);
-ms-transform: rotateX(25deg);
transform: rotateX(25deg);
-webkit-transition: all 1s;
-moz-transition: all 1s;
-o-transition: all 1s;
-ms-transition: all 1s;
transition: all 1s;
}
.skew:hover {
-webkit-transform: none;
-moz-transform: none;
-o-transform: none;
-ms-transform: none;
transform: none;
}
<div class="skew-wrap">
<div class="skew">LOTS OF REALLY COOL STUFF</div>
</div>
{"view":"split-vertical","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment