In this tutorial i will show you how to fill a text with a gradient color using CSS. The effect css will provide a gradient color for the text.
HTML CODE:
<p class="gradient-text">
Gradient text
</p>
CSS CODE:
.gradient-text {
background: -webkit-linear-gradient(pink, red);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
From the below video you can learn how to apply gradient text effect for heading. It will looks beautify your works.