y
Directly sets the vertical position (the y-coordinate) of an SVG shape or element. It is the CSS equivalent of the 'y' attribute used in SVG files.
Quick example
circle {
/* moves the circle 50 pixels down from the top edge of the SVG canvas */
y: 50px;
} Quick facts
Initial value
0Inherited
No
Applies to
SVG geometry elements
Animation type
byComputedValueType
y 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.
42+
69+
9+
79+