marker-mid

Defines the symbol or marker that will be displayed at every vertex (point) of an SVG path, except for the very first and very last points. It's perfect for adding arrowheads or dots to a multi-segment line.

Quick example

path {
  marker-mid: url(#dot);
  /* places a custom dot marker at every inner point of the path */
}

Quick facts

Initial value
none
Inherited
Yes
Applies to
a subset of SVG elements (shapes)
Animation type
discrete

Values

none

marker-mid Browser Support

Widely available Since 2020 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.

Safe to use without fallbacks.

1+
3+
4+
15+
ESC