Some simple animated gradient text with CSS which is more attention-grabbing than just plain, stationary coloured text
This method utilizes the CSS animation property.
The CSS
h1 {
font-size: 2.4rem;
font-weight: 800;
letter-spacing: -2px;
animation: flow 8s ease-in-out infinite;
background: linear-gradient(-60deg, #ee0979, #ff6a00);
background-size: 200%;
padding-left: 1rem;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
@keyframes flow {
0% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
}
