mirror of
https://github.com/FranP-code/Reflecto.git
synced 2025-10-13 00:43:31 +00:00
28 lines
535 B
CSS
28 lines
535 B
CSS
.shiny-text {
|
|
color: #ffffffbb; /* Adjust this color to change intensity/style */
|
|
background: linear-gradient(
|
|
120deg,
|
|
rgba(255, 255, 255, 0) 40%,
|
|
rgba(255, 255, 255, 1) 50%,
|
|
rgba(255, 255, 255, 0) 60%
|
|
);
|
|
background-size: 200% 100%;
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
display: inline-block;
|
|
animation: shine 5s linear infinite;
|
|
}
|
|
|
|
@keyframes shine {
|
|
0% {
|
|
background-position: 100%;
|
|
}
|
|
100% {
|
|
background-position: -100%;
|
|
}
|
|
}
|
|
|
|
.shiny-text.disabled {
|
|
animation: none;
|
|
}
|