颜色渐变的文字

by shengoo

HTML

<span class="colorText">alsdjfl;askjdfl;ajsdfl</span>

CSS

.colorText {
    text-decoration: none;
    background: -webkit-linear-gradient(bottom right, #008000, #F9F092, #F00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}