Expand description
Utilities for styling the stroke width of SVG elements.
Class | Properties |
---|---|
stroke-<integer> | stroke-width: <integer>px; |
§Tailwind compatibility
Stroke width values don’t follow Tailwind’s philosophy of limiting possible values and all numbers are supported. They are however perfectly compatible with Tailwind’s values.
§Arbitrary values
Any <length>
or <percentage>
property is allowed as arbitrary value.
For example, stroke-[1.8em]
.