BlogsDope image BlogsDope

CSS text-outline

March 21, 2021 CSS TEXT OUTLINE 3477

The text-outline property is used to set text outline.

CSS

text-outline: [thickness] [blur radius] [color];

Values

This property can take upto three parameter values which are defined below.

<thickness> (required) : Specifies the thickness of the outline.

<blur radius> (optional) : Specifies the blur radius of the outline.

<color> (required) : Specifies the color of the outline.

Apart from specifying different parameter values, you can also give the following global values.

initial : Sets the default value of the property.

inherit : Inherits the value from parent element.

Browser Support

This property is not supported in any major browser.


Liked the post?
Inquisitive and passionate Front-end Developer and Web Designer and Co-Founder of CodesDope.
Editor's Picks
0 COMMENT

Please login to view or add comment(s).