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.

It is documented as part of the Scalable Vector Graphics specification.

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

/* Syntax */
marker-mid: none;

/* Global values */
marker-mid: inherit;
marker-mid: initial;
marker-mid: revert;
marker-mid: revert-layer;
marker-mid: unset;
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.

1+
3+
4+
15+

New CSS drops.

Join 750+ readers who've survived clearfix hacks.

ESC