How to set text stroke effect in css

王林
Release: 2020-11-20 17:26:04
Original
10491 people have browsed it

How to set the text stroke effect in css: You can use the text-stroke-color attribute to set it, such as [-webkit-text-stroke-color:#ff0;]. The attribute text-stroke-color is used to set or retrieve the stroke color of text in the object.

How to set text stroke effect in css

Related properties:

text-stroke-color: property sets or retrieves the stroke color of the text in the object

(Learning video sharing:css video tutorial)

Attribute value:

: Specify the stroke color of the text.

Compatibility:

How to set text stroke effect in css

Example:

    text-stroke-color  

描边的文字:

我是被描了2像素黄边的文字

Copy after login

Related recommendations:CSS tutorial

The above is the detailed content of How to set text stroke effect in css. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!