ankitweblogic logo
W e b t u t o r i a l s

CSS3 Tutorial

Types of Style Sheet

Import Style Sheet

CSS3 Border Images

CSS2 Clip Property

CSS3 Background

CSS3 Color Property

CSS3 Linear Gradient

CSS3 Radial Gradient

CSS3 text-shadow

CSS3 word-wrap

CSS3 box-shadow

CSS text-stroke

CSS3 Nested Menu

CSS3 Combinators

CSS3 Pseudo Classes

CSS3 Pseudo Element

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