Created
February 22, 2012 16:05
-
-
Save eduardochiaro/1885745 to your computer and use it in GitHub Desktop.
Google's Wave Doodle
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
@keyframes wave | |
{ | |
0% {background-position: 0px 0px} | |
100% {background-position: -388px 0px} | |
} | |
@-moz-keyframes wave /* Firefox */ | |
{ | |
0% {background-position: 0px 0px} | |
100% {background-position: -388px 0px} | |
} | |
@-webkit-keyframes wave /* Safari and Chrome */ | |
{ | |
0% {background-position: 0px 0px} | |
100% {background-position: -388px 0px} | |
} | |
#wave{ | |
width:388px; | |
height:223px; | |
margin: 100px auto 10px auto; | |
border:1px #000000 dashed; | |
background: url('https://img.skitch.com/20120222-fee2prgm5eyuipa3pdm281brif.jpg') top left repeat-x; | |
animation: wave 3.5s; | |
-moz-animation: wave 3.5s; /* Firefox */ | |
-webkit-animation: wave 3.5s; /* Safari and Chrome */ | |
animation-iteration-count: infinite; | |
animation-timing-function: linear; | |
-moz-animation-iteration-count: infinite; | |
-moz-animation-timing-function: linear; | |
-webkit-animation-iteration-count: infinite; | |
-webkit-animation-timing-function: linear; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment