Syntax

text-stroke

Setting the width and color of strokes for text characters.

Overview

ClassDeclarations
text-stroke:`length`|<color>-webkit-text-stroke: `length` <color>;

Apply conditionally

Apply styles based on different states using selectors and conditional queries.

<div class="text-stroke:1|blue:hover text-stroke:1|blue@sm text-stroke:1|blue@dark text-stroke:1|blue@print">…</div>

  • Master UI


© 2025 Aoyue Design LLC.MIT License
Trademark Policy