How to use text-outline attribute
Feb 11, 2019 pm 04:01 PMThe text-outline attribute is used to specify the text outline. Through this attribute, the thickness, blur radius, and color of the outline can be set.
CSS3 text-outline attribute
Function: text-outline attribute Specifies text outline.
Syntax:
text-outline: thickness blur color;
thickness: Set the thickness of the outline.
color: The color of the outline.
blur: The blur radius of the outline, which can be omitted.
Note: All mainstream browsers do not support the text-outline attribute.
CSS3 Example of using the text-outline attribute
Set text-outline (text-outline):
p.test { text-outline: 2px 2px #ff0000; }
Above That’s the entire content of this article. For more exciting front-end content, you can follow www.html.cn! ! !
The above is the detailed content of How to use text-outline attribute. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to achieve wave effect with pure CSS3? (code example)

Use CSS skillfully to realize various strange-shaped buttons (with code)

How to hide elements in css without taking up space

It turns out that text carousel and image carousel can also be realized using pure CSS!

How to implement lace borders in css3

How to enlarge the image by clicking the mouse in css3

Does css3 animation effect have deformation?
