CSS -webkit-text-stroke Property Reference

The CSS -webkit-text-stroke property is a standard property in WebKit Extensions. Review its formal syntax, computed behavior, and practical declarations.

CSS -webkit-text-stroke Property Reference

The CSS -webkit-text-stroke property is a standard property in WebKit Extensions. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

-webkit-text-stroke overview

The CSS -webkit-text-stroke property is a standard property in WebKit Extensions. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

-webkit-text-stroke formal syntax
FieldValue
Formal syntax<length> || <color>
Initial value-webkit-text-stroke-width, -webkit-text-stroke-color
Applies toallElements
InheritedYes
Percentagesno
Computed value-webkit-text-stroke-width, -webkit-text-stroke-color
Animation type-webkit-text-stroke-width, -webkit-text-stroke-color
Mediavisual
Specification groupWebKit Extensions
StatusStandard

Practical examples

These declarations demonstrate valid ways to set -webkit-text-stroke. The initial and inherit global keywords remain available even when a property-specific value is preferable.

-webkit-text-stroke live example
CSS .reset-example { -webkit-text-stroke: initial; } .inherit-example { -webkit-text-stroke: inherit; } @supports (-webkit-text-stroke: initial) { .supported { -webkit-text-stroke: initial; } }

Description

The CSS -webkit-text-stroke property is a standard property in WebKit Extensions. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: -webkit-text-stroke
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies