njpma/app/static/css/partials/_titleanimation.scss

27 lines
708 B
SCSS
Raw Normal View History

:root {
--animated-title-color-1: #6666ff;
--animated-title-color-2: #0099ff;
--animated-title-color-3: #ffff00;
--animated-title-color-4: #ff3399;
}
2021-10-21 16:10:13 +00:00
@keyframes animated_title_animation {
0%,100% {
background-position: 0 0;
}
50% {
background-position: 100% 0;
}
}
.animated-title {
.text, .text-about {
background-image: linear-gradient(to right, var(--animated-title-color-1), var(--animated-title-color-2) , var(--animated-title-color-3), var(--animated-title-color-4));
2021-10-22 09:12:59 +00:00
-webkit-background-clip: text;
2021-10-21 16:10:13 +00:00
background-clip: text;
color: transparent;
animation: animated_title_animation 60s ease-in-out infinite;
background-size: 400% 100%;
}
}