Created
May 28, 2013 20:22
-
-
Save LeaVerou/5665799 to your computer and use it in GitHub Desktop.
Animated CSSConf gradient
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
/* Animated CSSConf gradient */ | |
@keyframes move { | |
to { background-position: 0 1950px, 50px 2000px; } | |
} | |
body { | |
min-height: 100%; | |
margin: 50px auto; | |
background-color: #96cd23; | |
background-image: radial-gradient(hsla(330, 50%, 60%,0) 64%, #c69 66%, #c69 75%, hsla(330, 50%, 60%,0) 77%, hsla(48, 100%, 50%,0) 90%, #fc0 92%), | |
radial-gradient(hsla(330, 50%, 60%,0) 64%, #c69 66%, #c69 75%, hsla(330, 50%, 60%,0) 77%, hsla(48, 100%, 50%,0) 90%, #fc0 92%); | |
background-size: 100px 100px; | |
background-position: 0 0, 50px 50px; | |
animation: .5s move infinite linear; | |
} |
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