mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
26 lines
483 B
CSS
26 lines
483 B
CSS
.gradient {
|
|
background: rgb(238, 174, 200);
|
|
background: linear-gradient(
|
|
45deg,
|
|
rgba(238, 174, 200, 1) 0%,
|
|
rgba(148, 187, 233, 1) 100%
|
|
);
|
|
background-size: 400%;
|
|
animation: gradient 5s ease infinite;
|
|
background-clip: text;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
@keyframes gradient {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
50% {
|
|
background-position: 100% 50%;
|
|
}
|
|
100% {
|
|
background-position: 0% 50%;
|
|
}
|
|
}
|