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


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *