<div style="transform:translate(2px, 3px)"> <svg> <circle fill="red"></circle> </svg> </div> <div style="transform:scale(2)"> <svg> <circle fill="blue"></circle> </svg> </div> Under this scheme, we'd regain all the benefits of cheap animation: as the browser is merely applying linear transforms to vanilla DOM nodes, there'd be no layout or painting required. Better yet: CSS Transforms are GPU acce
![Goodbye, Layout Invalidation: Animating SVGs With CSS Transforms | Charlie Marsh](https://cdn-ak-scissors.b.st-hatena.com/image/square/67a2601f21b5aeaf8a85e5d853ba48098e16c6b4/height=288;version=1;width=512/http%3A%2F%2Fwww.princeton.edu%2F~crmarsh%2Fstatic%2Fimg%2Fsvg_demo_old.gif)