CSS marker-end Property

Definition and Usage

marker-end The attribute points to a marker that will be drawn at the last vertex of the element path.

The shape of the marker is defined by the SVG <marker> element and referenced by the url() value.

CSS marker-end The value of the attribute overrides the value of the marker-end attribute in SVG.

Instance

Example 1

Point to a marker (arrow) that will be drawn at the last vertex of the element path:

#test {
  marker-end: url(#arrow);
}

Try It Yourself

Example 2

Point to a marker (circle) that will be drawn at the last vertex of the element path:

#test {
  marker-end: url(#circle);
}

Try It Yourself

CSS Syntax

marker-end: none;url|initial|inherit;

Attribute Value

Value Description
none Default value. No marker is drawn at the last vertex of the path.
url The URL reference for the marker defined by the SVG <marker> element.
initial Set this attribute to its default value. See initial.
inherit This attribute is inherited from its parent element. See inherit.

Browser Support

The numbers in the table indicate the browser version that first fully supports this property.

Chrome Edge Firefox Safari Opera
80 80 72 13.1 67

Related Pages

Tutorial:SVG Mark

Reference:CSS marker Property

Reference:CSS marker-mid Property

Reference:CSS marker-start Property