Gives text a gradient color.
background
with a linear-gradient()
value to give the text element a gradient background.webkit-text-fill-color: transparent
to fill the text with a transparent color.webkit-background-clip: text
to clip the background with the text, filling the text with the gradient background as the color.Gradient text
<p class="gradient-text">Gradient text</p>
.gradient-text {
background: linear-gradient(#70D6FF, #00072D);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
font-size: 32px;
}
CSS, Visual
A hover effect where the gradient follows the mouse cursor.
CSS, Visual
Displays a text on top of an image using an overlay.
CSS, Visual
Adds a fading gradient to an overflowing element to better indicate there is more content to be scrolled.