Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set transform-origin on SVG elements #137

Closed
bhongy opened this issue Jun 30, 2014 · 2 comments
Closed

Set transform-origin on SVG elements #137

bhongy opened this issue Jun 30, 2014 · 2 comments

Comments

@bhongy
Copy link

bhongy commented Jun 30, 2014

Is there a way to set transform-origin, especially for SVG elements (not sure if it will behave differently than setting transform-origin for normal DOM elements). Before Velocity 0.3.0, I use jQuery's css method $(el).css({ transfromOrigin: 'x y' }); --- with the upgrade, it does not seem to work anymore.

@julianshapiro
Copy link
Owner

This will get fixed tomorrow for all non-IE browsers. Stay tuned.

@julianshapiro
Copy link
Owner

Velocity now applies SVG transforms via CSS by default. So transformOrigin (and other 3D properties) now work: http://velocityjs.org/#svg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants