mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-21 13:24:44 +08:00
25 lines
511 B
CSS
25 lines
511 B
CSS
|
|
.animated {
|
||
|
|
background: linear-gradient(
|
||
|
|
to right,
|
||
|
|
rgba(0, 0, 0, 0.3) 15%,
|
||
|
|
rgba(0, 0, 0, 0.7) 35%,
|
||
|
|
rgba(0, 0, 0, 0.7) 65%,
|
||
|
|
rgba(0, 0, 0, 0.3) 85%
|
||
|
|
);
|
||
|
|
-webkit-background-clip: text;
|
||
|
|
background-clip: text;
|
||
|
|
-webkit-text-fill-color: transparent;
|
||
|
|
text-fill-color: transparent;
|
||
|
|
background-size: 500% auto;
|
||
|
|
animation: textShine 2s ease-in-out infinite alternate;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes textShine {
|
||
|
|
0% {
|
||
|
|
background-position: 0% 50%;
|
||
|
|
}
|
||
|
|
100% {
|
||
|
|
background-position: 100% 50%;
|
||
|
|
}
|
||
|
|
}
|