Created
January 10, 2012 09:46
-
-
Save zincplusplus/1588125 to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or 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 { | |
display: inline-block; | |
border:none; | |
border-radius: 100px; | |
padding: 10px; | |
cursor: pointer; | |
box-shadow: inset rgba(255,255,255,1) 0 0 10px; | |
background-color: hsla(45,100%,50%,1); | |
background-position: center center; | |
transition: all .6s ease-in-out; | |
} | |
#dream1 { padding: 20px; background-image:-moz-element(#now); } | |
#dream2 { padding: 30px; background-image:-moz-element(#dream1); } | |
#dream3 { padding: 40px; background-image:-moz-element(#dream2); } | |
#dream4 { padding: 50px; background-image:-moz-element(#dream3); } | |
#dream5 { padding: 60px; background-image:-moz-element(#dream4); } | |
#dream6 { padding: 70px; background-image:-moz-element(#dream5); } | |
div:hover { | |
background-color: hsla(200,100%,50%,1); | |
transform: rotate(360deg); | |
} |
This file contains hidden or 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="now"></div> | |
<div id="dream1"></div> | |
<div id="dream2"></div> | |
<div id="dream3"></div> | |
<div id="dream4"></div> | |
<div id="dream5"></div> | |
<div id="dream6"></div> | |
This file contains hidden or 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