Home >Web Front-end >Front-end Q&A >How to use css text-outline attribute
css The text-outline attribute is used to specify the text outline. Its syntax is text-outline: thickness blur color; all mainstream browsers do not support the text-outline attribute.
How to use the css text-outline attribute?
Function: The text-outline attribute specifies the text outline.
Grammar:
text-outline: thickness blur color
Description:
thickness Required. The thickness of the outline.
blur Optional. The blur radius of the outline.
color Required. The color of the outline.
Note: All major browsers do not support the text-outline attribute.
css text-outline property example
p.test { text-outline: 2px 2px #ff0000; }
The above is the detailed content of How to use css text-outline attribute. For more information, please follow other related articles on the PHP Chinese website!