Introduction

The text-stroke-width property specifies the width of the text stroke.

Examples

Syntax

text-stroke-width: 2px;
text-stroke-width: 0.1em;
text-stroke-width: 5pt;

Values

Formal definition

Initial valueempty value
Applies toall elements
Inheritedno
Animatableno

Formal syntax

text-stroke-width = <length[0,]>

Differences from Web

  • Does not support setting attribute values such as thin.

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.