css
.gradienttext {
backgroundimage: lineargradient(to right, red, blue);
webkitbackgroundclip: text;
webkittextfillcolor: transparent;
backgroundclip: text;
color: transparent; /* For nonwebkit browsers, though they might not support text gradient yet */
}