mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-17 17:45:17 +01:00
add gradient text anim
This commit is contained in:
parent
61d13bad4b
commit
a5cf711b22
1 changed files with 21 additions and 0 deletions
21
source/gradient/gradientText.css
Normal file
21
source/gradient/gradientText.css
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue