Last active
August 29, 2015 14:17
-
-
Save ig0r74/f981cb04eef7c96e1b46 to your computer and use it in GitHub Desktop.
Анимированный градиентный фон
This file contains hidden or 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
| body { | |
| background: linear-gradient(231deg, #00efb1, #eb70d8); | |
| background-size: 400% 400%; | |
| -webkit-animation: animbgr 30s ease infinite; | |
| -moz-animation: animbgr 30s ease infinite; | |
| -o-animation: animbgr 30s ease infinite; | |
| animation: animbgr 30s ease infinite; | |
| } | |
| @-webkit-keyframes animbgr { | |
| 0%{background-position:97% 0%} | |
| 50%{background-position:4% 100%} | |
| 100%{background-position:97% 0%} | |
| } | |
| @-moz-keyframes animbgr { | |
| 0%{background-position:97% 0%} | |
| 50%{background-position:4% 100%} | |
| 100%{background-position:97% 0%} | |
| } | |
| @-o-keyframes animbgr { | |
| 0%{background-position:97% 0%} | |
| 50%{background-position:4% 100%} | |
| 100%{background-position:97% 0%} | |
| } | |
| @keyframes animbgr { | |
| 0%{background-position:97% 0%} | |
| 50%{background-position:4% 100%} | |
| 100%{background-position:97% 0%} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment