CSS text color gradient
CSS Tutorial » CSS text color gradient
In short, text gradients are a fun, useful way to create engaging designs and eye-catching features for your site. If you want to hop on the gradient-train and want something a little different than radial and linear gradient backgrounds, then gradient text might be the perfect choice for you!
CSS used:
font-size: 72px; background: -webkit-linear-gradient(#eee, #333);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
Syntax:
-webkit-background-clip: value;
-moz-background-size: value;
-webkit-text-fill-color: value;
How to create CSS text color gradient - examples
You can try to execute the following code.
<!DOCTYPE html>
<html> <head>
<title>CSS Text Bold - examples - example</title>
<style>
div.color1 {
font-size: 42px;
background: -webkit-linear-gradient(#fdd, #393);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
div.color2 {
font-size: 32px;
background: -webkit-linear-gradient(#adf, #367);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
color: red;
}
div.color3 {
font-size: 42px;
background: -webkit-linear-gradient(#d5f, #192);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
h1 {
font-size: 72px;
background: -webkit-linear-gradient(#eee, #333);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>
</head>
<body>
<h1>CSS Text Color gradient H1</h1>
<div class="color1">Your text here.</div>
<div class="color2">Your text here</div>
<div class="color3">Your text here</div></body>
</html>
Linear-gradient CSS, Linear-gradient CSS for white, Background color effects css, How to fade a color in css, Tumblr gradient text, Border gradient CSS, Change color text css, Text color gradient CSS generator
CSS text color gradient - css tutorial
This tool makes it easy to create, adjust, and experiment with custom colors for the web.

Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.

Find here examples of creative and unique website layouts.

Find here examples of creative and unique website CSS HTML menu.