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

How to use css text-outline attribute

藏色散人
Release: 2019-05-30 09:44:05
Original
3448 people have browsed it

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
Copy after login

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;
}
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template