files/en-us/web/svg/reference/element/ellipse/index.md
The <ellipse> SVG element is an SVG basic shape, used to create ellipses based on a center coordinate, and both their x and y radius.
[!NOTE] Ellipses are unable to specify the exact orientation of the ellipse (if, for example, you wanted to draw an ellipse tilted at a 45 degree angle), but it can be rotated by using the {{SVGAttr("transform")}} attribute.
{{svginfo}}
0; Animatable: yes0; Animatable: yesauto | <length> | <percentage>; Default value: auto; Animatable: yesauto | <length> | <percentage>; Default value: auto; Animatable: yes[!NOTE] Starting with SVG2
cx,cy,rxandryare Geometry Properties, meaning those attributes can also be used as CSS properties for that element.
html,
body,
svg {
height: 100%;
}
<svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg">
<ellipse cx="100" cy="50" rx="100" ry="50" />
</svg>
{{EmbedLiveSample('Example', 100, '100%')}}
{{Specifications}}
{{Compat}}