We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

The animateTransform element animates a transformation attribute on a target element, thereby allowing animations to control translation, scaling, rotation and/or skewing.

Usage context

CategoriesAnimation element
Permitted contentAny number of the following elements, in any order:
Descriptive elements

Example

<?xml version="1.0"?>
<svg width="120" height="120"  viewBox="0 0 120 120"
     xmlns="http://www.w3.org/2000/svg" version="1.1"
     xmlns:xlink="http://www.w3.org/1999/xlink" >

    <polygon points="60,30 90,90 30,90">
        <animateTransform attributeName="transform"
                          attributeType="XML"
                          type="rotate"
                          from="0 60 70"
                          to="360 60 70"
                          dur="10s"
                          repeatCount="indefinite"/>
    </polygon>
</svg>

Live sample

Attributes

Global attributes

Specific attributes

DOM Interface

This element implements the SVGAnimateTransformElement interface.

Specifications

Specification Status Comment
SVG Animations Level 2
The definition of '<animateTransform>' in that specification.
Editor's Draft No change
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of '<animateTransform>' in that specification.
Recommendation Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes ? Yes No Yes ?
by ? ? ? ? ? ?
from ? ? ? ? ? ?
to ? ? ? ? ? ?
type ? ? ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? ? ? ? ? ? ?
by ? ? ? ? ? ? ?
from ? ? ? ? ? ? ?
to ? ? ? ? ? ? ?
type ? ? ? ? ? ? ?

Document Tags and Contributors

Contributors to this page: fscholz, Sebastianz, trevorh, kscarfone, Jeremie
Last updated by: fscholz,