Created
January 15, 2012 19:13
-
-
Save secondfret/1616878 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.test { | |
font-size: 2px; | |
height: 400px; | |
width: 400px; | |
background: gray; | |
margin: 50px; | |
float: left; | |
} | |
.test img {-webkit-transition: all 1s ease-out;} | |
.test:hover img{ | |
transform-origin: bottom center; | |
-webkit-transform: rotateX(180deg); | |
} | |
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 class="test"> | |
<img src="http://lorempixum.com/400/200/city/1"> | |
</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