Svg

Stroke

Style syntax for setting the outline color of an SVG shape.

🚧This page is still under construction and some content may not be complete.

Overview [sr-only]

ClassDeclarations
stroke:colorstroke: color
stroke:#hexstroke: #hex
stroke:rgb(rgb)stroke: rgb(rgb)
stroke:hsl(hsl)stroke: hsl(hsl)

Conditionally apply

Apply styles in different states using selectors, media queries, etc.

<div class="stroke:blue-60:hover stroke:blue-60@sm stroke:blue-60@dark stroke:blue-60@print">…</div>
PREVIOUS
Padding

Style syntax for setting the padding area on all four sides of an element.

NEXT
Stroke Width

Style syntax for setting the width of the stroke to be applied to the SVG shape.

MIT License Ā© Aoyue Design LLC.