
How to Create Gradient Texts in CSS
The background-clip property, in combination with the text-fill-color property in CSS can be used for coloring texts with a gradient:
Copied to clipboard! Playground
/* Create text gradients with the following: */
.gradient {
background: -webkit-gradient(linear,
left top, left bottom,
from(#FCA101), to(#F03823)
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Will produce the following: */
Welcome to the 90's

Resources:
π More Webtips
Master the Art of Frontend
Access exclusive interactive lessons
Unlimited access to hundreds of tutorials
Remove ads to learn without distractions
Courses

CSS - The Complete Guide (including Flexbox, Grid and Sass)
Including Flexbox, Grid, and Sass
Whether you're learning CSS for the first time or brushing up on your CSS skills and diving even deeper, this course is for you. Every web developer has to know CSS.

The HTML & CSS Bootcamp
From Zero to Expert!
This course covers flexbox, CSS grid, animations, responsive design, and much more! You will find tons of exercises & projects inside this course.

The Creative HTML5 & CSS3 Course
Build Awesome Websites
Learn HTML5 and CSS3 by creating three amazing, well-designed and animated websites from scratch.