// Static color gradient
.colorGradientClass {
background-color: #ffffff !important;
background-image: linear-gradient(315deg, #ffffff 0%, #d9d9d9 74%) !important;
}
// Animated color gradient
.colorTransitionClass {
background-image:
linear-gradient(to right, transparent, white),
linear-gradient(to right,yellow, white, yellow, white);
background-size: 100% 100%, 2000% 100%;
animation: move 5s infinite;
}
@keyframes move {
from {background-position: center center, left center;}
to {background-position: center center, right center;}
}
// This will result in blinking text
.blinkingText {
animation: blinker 5s linear infinite;
color: red !important;
}
@keyframes blinker {
50% {
opacity: 0;
}
}
Categories: