Last active
March 27, 2018 13:38
-
-
Save AleksueiR/3203b959849a67d22898a11cce1c073b to your computer and use it in GitHub Desktop.
Animated Ramp
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> | |
body { | |
background: linear-gradient(270deg, #733E05, #D6AF67, #EFF0ED, #6BBFB1, #023D32); | |
background-size: 1000% 1000%; | |
-webkit-animation: AnimationName 23s ease infinite; | |
-moz-animation: AnimationName 23s ease infinite; | |
animation: AnimationName 23s ease infinite; | |
} | |
@-webkit-keyframes AnimationName { | |
0% { | |
background-position: 0% 50% | |
} | |
50% { | |
background-position: 100% 50% | |
} | |
100% { | |
background-position: 0% 50% | |
} | |
} | |
@-moz-keyframes AnimationName { | |
0% { | |
background-position: 0% 50% | |
} | |
50% { | |
background-position: 100% 50% | |
} | |
100% { | |
background-position: 0% 50% | |
} | |
} | |
@keyframes AnimationName { | |
0% { | |
background-position: 0% 50% | |
} | |
50% { | |
background-position: 100% 50% | |
} | |
100% { | |
background-position: 0% 50% | |
} | |
} | |
</style> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment