Created
February 3, 2012 22:01
-
-
Save DevinClark/1732972 to your computer and use it in GitHub Desktop.
Loading dot dot dot
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
/* | |
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; | |
} | |
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
<div class="skew-wrap"> | |
<div class="skew">LOTS OF REALLY COOL STUFF</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
{"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