blob: bcda35fff61fe5a9b96e5675e476aa7adf19e8a2 (
plain)
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
|
.hero-inner {
position: fixed;
inset: 0;
background-image: url('./hero.svg');
background-position: 100% 50%;
background-size: cover;
background-repeat: repeat;
background-attachment: scroll;
z-index: -1;
}
.hero {
color: #fff;
background: linear-gradient(-45deg, #64f20c, #5cfbc6, #3149ff, #63f777);
background-size: auto;
background-size: 400% 400%;
animation: Gradient 10s ease infinite;
position: fixed;
inset: 0;
z-index: -2;
}
@keyframes Gradient {
0% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
}
|