Share Posted April 18, 2020 Hello, When using splitText with chrome I'm finding that from the second line in a paragraph, everything indents by 6 pixels - This is only happening on Chrome, not Safari or Firefox - Any ideas? I can see in the code it's using soft hyphens in places, and wondering if that is causing the issue somewhere. Thanks! James See the Pen vYNLGZV by mimeArtist (@mimeArtist) on CodePen Link to comment Share on other sites More sharing options...
Share Posted April 18, 2020 Hey mimeartist. This is related to your { position:"absolute"} of the SplitText. Why do you need that? Here's how I'd do it using GSAP 3: See the Pen VwvjPeG?editors=0010 by GreenSock (@GreenSock) on CodePen 4 Link to comment Share on other sites More sharing options...
Author Share Posted April 18, 2020 Thanks Zach you're a life saver!, I was going to track the positions of some stuff - but not needed, and forgot it was there, was wasting my time messing around with the CSS instead, thanks again! Also my bold and italics styling is working properly now Link to comment Share on other sites More sharing options...
Author Share Posted April 23, 2020 Thanks again - Got it working at https://l-o.st 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