Share Posted April 28, 2022 Hi, I have an image masked by some circles in svg that are scaled using gsap It works fine on chrome but in firefox, it looks like the origin of the transformation is somewhere out of the window. Is Firefox still messing with transformation in 2022 ? See the Pen MWrNZvq by akinorikul (@akinorikul) on CodePen Link to comment Share on other sites More sharing options...
Solution Solution Share Posted April 28, 2022 Heya! Not a GSAP issue here. Firefox doesn't like percentages in SVG. It's always best to go with a viewBox and use SVG units. Hope this helps! See the Pen KKZOYeB?editors=1010 by GreenSock (@GreenSock) on CodePen 4 Link to comment Share on other sites More sharing options...
Author Share Posted April 28, 2022 Thank you Cassie , it works ! I didn't know about the viewbox and FF See the Pen QWaeXGj by akinorikul (@akinorikul) on CodePen 1 Link to comment Share on other sites More sharing options...
Share Posted April 28, 2022 Well now you do! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now