Path: blob/main/files/en-us/web/svg/attribute/elevation/index.md
6552 views
------{{SVGRef}}
The elevation attribute specifies the direction angle for the light source from the XY plane towards the Z-axis, in degrees. Note that the positive Z-axis points towards the viewer of the content.
You can use this attribute with the following SVG elements:
{{SVGElement("feDistantLight")}}
Example
{{EmbedLiveSample("Example", "420", "200")}}
Usage notes
| Value | {{cssxref("number")}} |
|---|---|
| Default value | 0 |
| Animatable | Yes |
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}