MrCapp Posted August 23, 2022 Share Posted August 23, 2022 Hello. I have an animation where I've used autoAlpha to keep things hidden until the animation starts. The animation is supposed to play three times after loading. On Mac, it's visible in Firefox but not Chrome or Safari. What do I have wired up incorrectly? I'm realtively new to GSAP so I'm not sure what is causing the issue. Any insight is appreciated. See the Pen PoRVYJo by OddboxStudio (@OddboxStudio) on CodePen 1 Link to comment Share on other sites More sharing options...
Solution Cassie Posted August 23, 2022 Solution Share Posted August 23, 2022 Hey there - you'll need to give your SVG a width for some browsers. Max width is just collapsing in chrome for me. svg { width: 300px; } Your GSAP animation looks great though, nice job! 1 Link to comment Share on other sites More sharing options...
MrCapp Posted August 23, 2022 Author Share Posted August 23, 2022 Awesome - thanks for pointing that out! 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