Jump to content
Search Community

Newbie SVG question - Animate Bar UP not Down

amort2000 test
Moderator Tag

Recommended Posts

Fantastic, that works really well. Thanks

 

But I  do find it quite unintuitive - If I use scaleY the bar grows in the direction specified by transformOrigin, but not when I animate  the svg height attribute.

 

I'd like to use scaleY but to pass it pixel value rather than a percentage - I've picked up somewhere that it's better to use transforms than manipulate attributes - is that possible?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...