Created
February 27, 2021 03:38
-
-
Save GradientAnimator/4c046160ca0b648ac617b1a608ff6dee to your computer and use it in GitHub Desktop.
CSS Gradient Animation
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
.css-selector { | |
fondo: gradiente lineal ( 267deg , # 0d3c9d, # 0e9cfd, # fd4f0e, # fd0e41); | |
tamaño de fondo:800% 800%; | |
-webkit-animation: AnimationName 10s facilidad infinita; | |
-moz-animation: AnimationName 10s facilidad infinita; | |
-o-animation: AnimationName 10s ease infinite; | |
animación: AnimationName 10s facilidad infinita; | |
} | |
@ -webkit-keyframes AnimationName { | |
0% {background-position: 0% 48% } | |
50% {background-position: 100% 53% } | |
100% {background-position: 0% 48% } | |
} | |
@ -moz-keyframes AnimationName { | |
0% {background-position: 0% 48% } | |
50% {background-position: 100% 53% } | |
100% {background-position: 0% 48% } | |
} | |
@-o-keyframes AnimationName {0% 48%100% 53%0% 48% | |
0%{background-position:0% 48%}100% 53%0% 48% | |
50%{background-position:100% 53%}0% 48% | |
100%{background-position:0% 48%} | |
} | |
@keyframes AnimationName { | |
0% {background-position: 0% 48% } | |
50% {background-position: 100% 53% } | |
100% {background-position: 0% 48% } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment