-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolorgrad-slow.css
40 lines (35 loc) · 1.48 KB
/
colorgrad-slow.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.colorgrad {
background: rgba(0, 0, 0, 0) repeating-linear-gradient(-45deg, rgb(0, 84, 253) 0%, rgb(255, 25, 247) 7.14%, rgb(255, 46, 93) 14.28%, rgb(255, 170, 7) 21.42%, rgb(255, 170, 7) 28.56%, rgb(255, 46, 93) 35.7%, rgb(255, 25, 247) 42.84%, rgb(0, 84, 253) 50%) repeat scroll 0% 0% / 600vw 600vw padding-box text;
background-color:
rgba(0, 0, 0, 0);
background-position-x: 0%;
background-position-y: 0%;
background-repeat: repeat;
background-attachment: scroll;
background-image: repeating-linear-gradient(-45deg,
rgb(0, 84, 253) 0%, rgb(255, 25, 247) 7.14%, rgb(255, 46, 93) 14.28%, rgb(255, 170, 7) 21.42%, rgb(255, 170, 7) 28.56%, rgb(255, 46, 93) 35.7%, rgb(255, 25, 247) 42.84%,
rgb(0, 84, 253) 50%);
background-size: 600vw 600vw;
background-origin: padding-box;
background-clip: text;
-webkit-background-clip: text;
-webkit-animation: 90s linear 0s infinite normal forwards running followThrough;
-moz-animation: 90s linear 0s infinite normal forwards running followThrough;
animation: 90s linear 0s infinite normal forwards running followThrough;
-webkit-text-fill-color: transparent;
}
@keyframes followThrough {
0%{background-position:0% 0%}
50%{background-position:50% 50%}
100%{background-position:0% 0%}
}
@-webkit-keyframes followThrough {
0%{background-position:0% 0%}
50%{background-position:50% 50%}
100%{background-position:0% 0%}
}
@-moz-keyframes followThrough {
0%{background-position:0% 0%}
50%{background-position:50% 50%}
100%{background-position:0% 0%}
}