How to add color gradients in HTML text?

.gradient-text { background: linear-gradient(to bottom right,#f27990, #332b75); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } Live Example

January 15, 2019 · 1 min · Harshvardhan Malpani