Created
April 23, 2024 09:56
-
-
Save GradientAnimator/82c4d4c3722f22c17b37d62923b41fe2 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-селектор { фон: линейно-градиентный (270deg, #21d5a7, #486960, #37c59e, #0c201a, #0cffb6, #00563c, #000000); размер фона: 1400% 1400%; -webkit-анимация: AnimationName 59s | |
-moz-анимация: название анимации 59 секунд | |
-o-animation: AnimationName 59s ease infinite; | |
анимация: AnimationName 59 секунд | |
@-webkit-ключевые кадры AnimationName { 0%{background-position:0% 50%} 50%{background-position:100% 50%}0% 50% | |
@-moz-ключевые кадры AnimationName { 0%{background-position:0% 50%} 50%{background-position:100% 50%}0% 50% | |
@-o-keyframes AnimationName { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@ключевые кадры AnimationName { 0%{background-position:0% 50%} 50%{background-position:100% 50%}0% 50% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment