Created
December 29, 2011 18:03
-
-
Save secondfret/1535314 to your computer and use it in GitHub Desktop.
Design Shack CSS Mouse In/Out Example 1
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
/** | |
* Design Shack CSS Mouse In/Out Example 1 | |
*/ | |
#loremdiv { | |
margin: 100px; | |
height: 200px; width: 200px; | |
background: black; | |
-webkit-transition: all 1s ease; | |
-moz-transition: all 1s ease; | |
-o-transition: all 1s ease; | |
-ms-transition: all 1s ease; | |
transition: all 1s ease; | |
} | |
#loremdiv:hover { | |
background: gray; | |
-webkit-transform: rotate(1080deg); | |
-moz-transform: rotate(1080deg); | |
-o-transform: rotate(1080deg); | |
-ms-transform: rotate(1080deg); | |
transform: rotate(1080deg); | |
-webkit-border-radius: 100px; | |
-moz-border-radius: 100px; | |
border-radius: 100px; | |
} |
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 id="loremdiv"> | |
</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