stroke-miterlimit — limiting sharp stroke joins
stroke-miterlimit limits how far a sharp stroke corner extends relative to stroke-width. With stroke-linejoin: miter, exceeding the limit replaces the pointed join with a bevel.
CKTIS / Knowledge base
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
stroke-miterlimit limits how far a sharp stroke corner extends relative to stroke-width. With stroke-linejoin: miter, exceeding the limit replaces the pointed join with a bevel.
The CSS `stroke-opacity` property controls the opacity of stroke painting independently of the fill. It accepts a number or percentage, is inherited, and has an initial value of `1`.
The CSS stroke-width property sets the thickness of strokes on SVG shapes and text. It is inherited and accepts a nonnegative length, percentage, or number in SVG user units. Setting the thickness alone does not give the stroke a color.
The `table-layout` property selects automatic or fixed table layout. It controls whether cell content influences column widths; it does not set row heights.
The tab-size property sets the spacing between tab stops for preserved tab characters. It accepts a nonnegative number or length and requires white-space settings that preserve tabs.
`text-align` aligns inline content inside a block container. Logical values `start` and `end` account for text direction; the property does not center the block itself.
The text-align-last property controls alignment of a block’s last line and lines immediately before forced breaks. It lets those lines use a different alignment from the remaining lines.
The text-anchor property determines whether the start, middle, or end of an SVG text chunk aligns with its anchor point.
`text-autospace` controls spacing at boundaries between character classes and around punctuation without changing content or text copied as plain text.
The text-box shorthand sets text-box-trim and text-box-edge, selecting which edges to trim and which font metrics define their boundaries.
The text-box-edge property selects the font metrics used by text-box-trim. It does not enable trimming by itself or fit the box to the actual outline of each letter.
The text-box-trim property trims a text box to metrics selected by text-box-edge, rather than removing characters or whitespace.
text-combine-upright combines characters into a horizontal fragment occupying one character space in vertical text.
The text-decoration shorthand sets the kind, style, color, and thickness of decorative text lines. Omitted components reset to their initial values.
The text-decoration-color property sets the color of underlines, overlines, and strike-throughs independently of the letters. It does not enable any line by itself.
The text-decoration-line property selects underlines, overlines, or strike-throughs. Lines can be combined; none on a descendant does not remove a decoration originating from an ancestor.
Controls gaps in underlines and overlines where they cross glyph shapes; it does not create decorations.
The text-decoration-style property sets the pattern of an underline, overline, or strike-through. It does not enable a decoration itself: text-decoration-line selects the line.
The text-decoration-thickness property sets underline, overline, and strike-through thickness, but does not enable decorations itself.
The CSS `text-emphasis` shorthand sets the style and color of small emphasis marks beside text, especially in East Asian typography. It neither sets nor resets their position.
The text-emphasis-color property sets the color of emphasis marks beside text, independently of the letters' color. It is inherited, and its initial value, currentcolor, makes the marks follow the color property.
The text-emphasis-position property selects which side of text receives emphasis marks. It specifies separate positions for horizontal and vertical typographic modes; it does not enable marks by itself.
The text-emphasis-style property sets the shape and fill of emphasis marks beside text. It is inherited; none disables the marks.
The experimental text-fit property scales text after line wrapping. It selects growth or shrinkage, controls whether lines share a scale factor, and accepts a percentage limit.