AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL
HTML Tutorial

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:

Syntax: External CSS.
background: -webkit-linear-gradient(#eee, #333);
-webkit-background-clip: value;
-moz-background-size: value;
-webkit-text-fill-color: value;
Note: use external CSS instead.


How to create CSS text color gradient - examples


You can try to execute the following code.

Example:
Example 1, How to create CSS text color gradient

<!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>

Note: Use external CSS instead.




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

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


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


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


CSS Scrollbar Horizontal
CSS Scrollbar in Div
CSS Scrollbar Firefox
CSS Style Scrollbar
CSS Style Text
CSS background color
CSS Div Id Class
CSS Text Wrap
CSS text-align
CSS Text Decoration
CSS Text Shadow
CSS Text Color
CSS Text Bold
CSS Text Size
CSS background image full
CSS background opacity
CSS border radius
CSS rounded corners
CSS font color
CSS Class & ID
CSS align image center
CSS align content
CSS link color
CSS Text Style
CSS Text Font Size
CSS max width &height
CSS width and height
CSS Margin
CSS Padding
CSS Border Style
CSS background
CSS in HTML
Basic Syntax of CSS
CSS Introduction
Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


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


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


Send forgot password by mail or message ...
PHP MySQL simple login system...
Check for duplicate username live or ema...
How to create simple search engine using...
Diseño de sitio web CSS Layout...
Diseño de caja flexible CSS3...
Botones en CSS...
ID y Clase, Diferencias entre Class e Id...
Esquina redondeada CSS...
Tamaño de caja css box-sizing: border-b...
Alineación CSS...
Altura y Anchura CSS...
Bordes CSS...
Margen CSS...
Relleno CSS...
Modelo de caja CSS...
Tablas CSS...
Listas CSS...
Enlaces CSS...
Texto CSS...