Created
January 27, 2015 15:06
-
-
Save anonymous/d7d86d2b0cbd3aafcf82 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#simple { | |
width: 50px; | |
height: 50px; | |
background-color: red; | |
position: absolute; text-align:center; | |
padding-top: 1%; | |
color:#FFF; font-weight:bold; | |
-moz-animation-name: simple-animation; | |
-moz-animation-duration: 5s; | |
-moz-animation-delay: 0s; | |
-moz-animation-iteration-count: 10; | |
-moz-animation-timing-function: ease-out; | |
/* rápido al principio lento al final */ | |
-moz-animation-direction: normal; | |
-webkit-animation-name: simple-animation; | |
-webkit-animation-duration: 5s; | |
-webkit-animation-delay: 0s; | |
-webkit-animation-iteration-count: 10; | |
-webkit-animation-timing-function: ease-in-out; | |
-webkit-animation-direction: normal; | |
} | |
@-moz-keyframes simple-animation { | |
0% { | |
left: 0; | |
} | |
50% { | |
left: 200px; | |
bottom:300px; | |
height: 150px; | |
background-color: blue; | |
} | |
100% { | |
left: 400px; | |
height: 150px; | |
width:150px; | |
} | |
} | |
@-webkit-keyframes simple-animation { | |
0% { | |
left: 0; | |
} | |
50% { | |
left: 200px; | |
bottom:300px; | |
background-color: blue; | |
} | |
100% { | |
left: 400px; | |
} | |
} |
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="simple">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
// 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-vertical","fontsize":"110","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment