Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/svg/attribute/additive/index.md
6552 views
---
title: additive slug: Web/SVG/Attribute/additive page-type: svg-attribute tags: - NeedsCompatTable - NeedsExample - SVG - SVG Attribute spec-urls: https://svgwg.org/specs/animations/#AdditiveAttribute
---

{{SVGRef}}

The additive attribute controls whether or not an animation is additive.

It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values.

You can use this attribute with the following SVG elements:

  • {{SVGElement("animate")}}

  • {{SVGElement("animateColor")}}

  • {{SVGElement("animateMotion")}}

  • {{SVGElement("animateTransform")}}

Usage notes

Value replace | sum
Default value replace
Animatable No
  • sum

    • : Specifies that the animation will add to the underlying value of the attribute and other lower priority animations.

  • replace

Specifications

{{Specifications}}

See also