Created
April 7, 2016 21:07
-
-
Save michelmany/c749dde05494064801178b9e444c7f97 to your computer and use it in GitHub Desktop.
Animação de bg css3 degrade
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
background: linear-gradient(180deg, #6b1ba6, #a618bd); | |
background-size: 400% 400%; | |
-webkit-animation: BgFoliaAnimator 30s ease infinite; | |
-moz-animation: BgFoliaAnimator 30s ease infinite; | |
-o-animation: BgFoliaAnimator 30s ease infinite; | |
animation: BgFoliaAnimator 30s ease infinite; | |
@-webkit-keyframes BgFoliaAnimator { | |
0%{background-position:65% 0%} | |
50%{background-position:36% 100%} | |
100%{background-position:65% 0%} | |
} | |
@-moz-keyframes BgFoliaAnimator { | |
0%{background-position:65% 0%} | |
50%{background-position:36% 100%} | |
100%{background-position:65% 0%} | |
} | |
@-o-keyframes BgFoliaAnimator { | |
0%{background-position:65% 0%} | |
50%{background-position:36% 100%} | |
100%{background-position:65% 0%} | |
} | |
@keyframes BgFoliaAnimator { | |
0%{background-position:65% 0%} | |
50%{background-position:36% 100%} | |
100%{background-position:65% 0%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment