Skip to content

Instantly share code, notes, and snippets.

@johnsardine
Forked from LeaVerou/dabblet.css
Created April 21, 2012 13:54
Show Gist options
  • Save johnsardine/2437188 to your computer and use it in GitHub Desktop.
Save johnsardine/2437188 to your computer and use it in GitHub Desktop.
Image interpolation demo
/* Image interpolation demo */
@keyframes browsers {
from, to { background-image: url('http://lea.verou.me/css-4d/img/firefox-logo.png'); }
20% { background-image: url('http://lea.verou.me/css-4d/img/chrome-logo.png'); }
40% { background-image: url('http://lea.verou.me/css-4d/img/safari-logo.png'); }
60% { background-image: url('http://lea.verou.me/css-4d/img/opera-logo.png'); }
80% { background-image: url('http://lea.verou.me/css-4d/img/ie-logo.png'); }
}
html {
background: center;
animation: 5s browsers infinite;
}
{"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