Home >Web Front-end >Front-end Q&A >How to use css text-outline attribute

How to use css text-outline attribute

藏色散人
藏色散人Original
2019-05-30 09:44:053476browse

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn