CSS3 Tutorial

Import Style Sheet

CSS3 Border Images

CSS2 Clip Property

CSS3 Background

CSS3 Color Property

CSS3 Linear Gradient

CSS3 Radial Gradient

CSS3 box-shadow

CSS3 text-shadow

CSS3 word-wrap

CSS3 Combinators

CSS3 Pseudo Classes

CSS3 Pseudo Element

CSS3 Nested Menu

CSS3 2D Transform

CSS3 2D Transform

CSS3 3D Transform

CSS3 Transitions

CSS3 Animation

CSS3 Animation Exercise

CSS3 Multiple Columns

After Before Shadow

CSS3 Resize Property

CSS3 Shapes

Exercise Shape

CSS Tooltip

CSS Hover Effect

CSS Question-Answer

Page Stats

Visitor: 163

CSS text-stroke Property

The text-stroke property provides text decoration option. It is not currently included in any W3C or WHATWG specification, it only works in chrome browser.

Property Description
text-stroke-width thickness of the text stroke.
text-stroke-color color of the text stroke
text-fill-color describe text color

text-stroke rules:
use properties with -webkit-.
The stroke drawn by` text-stroke is aligned to the center of the text, and there is currently no option to set the alignment to the inside or outside of the shape.

Example 1: text-stroke property

Example 2: text-stroke property with transparent