background-clip for Text in CSS


Clip backgrounds to text for interesting effects.

Source Code

.background-clip-text {
    background: linear-gradient(to right, red, orange);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments