add gradient text anim

This commit is contained in:
masterbordbar 2022-05-19 10:57:17 +00:00
parent 61d13bad4b
commit a5cf711b22

View file

@ -0,0 +1,21 @@
@keyframes gradientText {
from {
background-position : 0;
}
to {
background-position : 100%;
}
}
.gradientText {
background: #12c2e9;
background: linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
background-clip: text;
color : transparent;
background-size : 300%;
background-position : -200%;
animation-name: gradientText;
animation-iteration-count: infinite;
animation-direction: alternate-reverse;
}