Created
March 1, 2013 18:05
-
-
Save soundstep/5066519 to your computer and use it in GitHub Desktop.
Untitled
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 { | |
background-color: #ccc; | |
margin: 20px; | |
width: 50px; | |
height: 50px; | |
-webkit-animation-duration: 1s; | |
-webkit-animation-timing-function: ease-out; | |
} | |
#with-opacity { | |
-webkit-animation-name: popInWithOpacity; | |
} | |
#without-opacity { | |
-webkit-animation-name: popInWithoutOpacity; | |
} | |
@-webkit-keyframes popInWithOpacity { | |
from { | |
-webkit-transform: scale(0); | |
opacity: 0; | |
} | |
to { | |
-webkit-transform: scale(1); | |
opacity: 1; | |
} | |
} | |
@-webkit-keyframes popInWithoutOpacity { | |
from { | |
-webkit-transform: scale(0); | |
} | |
to { | |
-webkit-transform: scale(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
<div id=with-opacity></div> | |
<div id=without-opacity></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
// alert('Hello world!'); |
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","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment