Separator Posted June 1, 2022 Share Posted June 1, 2022 Why splitText is ignoring white space between words? i tried reduceWhiteSpace: false, but it didn't work. See the Pen MWQGEzR by Separator (@Separator) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted June 1, 2022 Share Posted June 1, 2022 You're placing each character onto the motionPath at exactly the same spot, and then staggering the start time of each animation. White space has absolutely nothing to do with it. See what I mean? Perhaps you should try using the native <textPath> element in SVG and then animate the startOffset with GSAP. https://css-tricks.com/snippets/svg/curved-text-along-path/ https://developer.mozilla.org/en-US/docs/Web/SVG/Element/textPath 1 Link to comment Share on other sites More sharing options...
PointC Posted June 1, 2022 Share Posted June 1, 2022 Here's an oldie but a goodie. See the Pen vRzmeO by PointC (@PointC) on CodePen 4 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