property
Marker mid — CSS reference
Places markers at intermediate vertices, not at the first or last vertex. The referenced marker is defined in the same SVG and uses a square so its position is easy to verify.
Formal Syntax & Structure
css syntaxcss
marker-mid: url(#m);Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>marker-mid</title><style>body{margin:0;background:white}svg{display:block}#a{marker-mid:url(#m)}</style><body><svg xmlns="http://www.w3.org/2000/svg" width="240" height="160" viewBox="0 0 240 160" role="img" aria-label="SVG styling example"><defs><marker id="m" markerWidth="12" markerHeight="12" refX="6" refY="6" markerUnits="userSpaceOnUse"><rect width="12" height="12" fill="blue"/></marker></defs><path id="a" d="M40 100 L100 40 L180 100" stroke="red" fill="none" stroke-width="3"/></svg></body></html>