MDN The fillCSS property defines how SVG text content and the interior canvas of SVG shapes are filled or painted. If present, it overrides the element's fill attribute.
MDN The markerCSS property points to a marker that will be drawn on the first, middle, and last vertices of the element's path; that is, at all of its vertices. The marker must have been defined using an SVG element, and can only be referenced with a <url> value. The value of the CSS property overrides any values of the marker-start, marker, and marker-end attributes in the SVG.
Syntax
none | <marker-ref>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
MDN The marker-endCSS property points to a marker that will be drawn on the last vertex of the element's path; that is, at its ending vertex. The marker must have been defined using an SVG element, and can only be referenced with a <url> value. The value of the CSS property overrides any values of the marker-end attribute in the SVG.
Syntax
none | <marker-ref>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
none
Applies to
shapes
Inherited
yes
Percentages
N/A
Computed value
as specified, but with <url> values (that are part of a <marker-ref>) made absolute
Animation type
discrete
Browser support
First browser version supporting marker-end
Chrome
1
Edge
≤15
Firefox
3
Safari
4
Chrome Android
18
Safari iOS
3.2
First version with support, from MDN browser-compat-data.
MDN The marker-midCSS property points to a marker that will be drawn on the middle vertices of the element's path; that is, at each of its vertices between the start and end vertices. The marker must have been defined using an SVG element, and can only be referenced with a <url> value. The value of the CSS property overrides any values of the marker-mid attribute in the SVG.
Syntax
none | <marker-ref>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
none
Applies to
shapes
Inherited
yes
Percentages
N/A
Computed value
as specified, but with <url> values (that are part of a <marker-ref>) made absolute
Animation type
discrete
Browser support
First browser version supporting marker-mid
Chrome
1
Edge
≤15
Firefox
3
Safari
4
Chrome Android
18
Safari iOS
3.2
First version with support, from MDN browser-compat-data.
MDN The marker-startCSS property points to a marker that will be drawn on the first vertex of the element's path; that is, at its starting vertex. The marker must have been defined using an SVG element, and can only be referenced with a <url> value. The value of the CSS property overrides any values of the marker-start attribute in the SVG.
Syntax
none | <marker-ref>
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
none
Applies to
shapes
Inherited
yes
Percentages
N/A
Computed value
as specified, but with <url> values (that are part of a <marker-ref>) made absolute
Animation type
discrete
Browser support
First browser version supporting marker-start
Chrome
1
Edge
≤15
Firefox
3
Safari
4
Chrome Android
18
Safari iOS
3.2
First version with support, from MDN browser-compat-data.
MDN The path-lengthCSS property specifies a total path length, in user units. All path computations are then scaled using the ratio path-length / (computed value of path length) — this includes text paths, animation paths, and various stroke operations.
MDN The rCSS property defines the radius of a circle. It can only be used with the SVG circle element. If present, it overrides the circle's r attribute.
MDN The rxCSS property defines the x-axis, or horizontal, radius of an SVG ellipse and the horizontal curve of the corners of an SVG rect rectangle. If present, it overrides the shape's rx attribute.
MDN The ryCSS property defines the y-axis, or vertical, radius of an SVG ellipse and the vertical curve of the corners of an SVG rect rectangle. If present, it overrides the shape's ry attribute.
MDN The shape-renderingCSS property provides hints to the renderer about what tradeoffs to make when rendering shapes like paths, circles, or rectangles. It only has an effect on the circle, ellipse, line, path, polygon, polyline, and rect elements. If explicitly declared, the value of the CSS property overrides the any values of the element's shape-rendering attribute.
Syntax
auto | optimizeSpeed | crispEdges | geometricPrecision
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
auto
Applies to
shapes
Inherited
yes
Percentages
N/A
Computed value
as specified
Animation type
discrete
Browser support
First browser version supporting shape-rendering
Chrome
1
Edge
79
Firefox
3
Safari
4
Chrome Android
18
Safari iOS
3.2
First version with support, from MDN browser-compat-data.
MDN The stop-colorCSS property defines the color to use for an SVG stop element within a gradient. If present, it overrides the element's stop-color attribute.
MDN The stop-opacityCSS property defines the opacity of a given color gradient stop in the SVG stop element within an SVG gradient. If present, it overrides the element's stop-opacity attribute.
MDN The strokeCSS property defines the color or SVG paint server used to draw an element's stroke. As such, stroke only has an effect on elements that can be given a stroke (for example, or ); see the page on the SVG attribute for a complete list. When declared, the CSS value overrides any value of the element's stroke SVG attribute.
Live previewExample from MDN
rect { stroke: rebeccapurple;}circle { stroke: red;}
MDN The text-anchorCSS property aligns a box containing a string of text where the wrapping area is determined from the inline-size property, and the text is then placed relative to the anchor point of the element, which is defined using the and (or and ) attributes. If present, the value of the CSS property overrides any value of the element's text-anchor attribute.
Syntax
start | middle | end
Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.
Definition
Initial
start
Applies to
text content elements
Inherited
yes
Percentages
N/A
Computed value
as specified
Animation type
discrete
Browser support
First browser version supporting text-anchor
Chrome
1
Edge
≤14
Firefox
3
Safari
4
Chrome Android
18
Safari iOS
3.2
First version with support, from MDN browser-compat-data.
MDN The vector-effectCSS property suppresses specific transformation effects in SVG, thus permitting effects like a road on a map staying the same width no matter how the map is zoomed, or allowing a diagram key to retain its position and size regardless of other transforms. It can only be used with SVG elements that accept the vector-effect attribute. When used, the CSS value overrides any values of the element's vector-effect attribute.
MDN The xCSS property defines the x-axis coordinate of the top left corner of the SVG rect shape, image image, foreignObject viewport or nested svg viewport relative to the nearest <svg> ancestor's user coordinate system. If present, it overrides the element's x attribute.
MDN The yCSS property defines the y-axis coordinate of the top left corner of the SVG rect shape, image image, foreignObject viewport and nested svg viewport relative to the nearest <svg> ancestor's user coordinate system. If present, it overrides the element's y attribute.