Jump to content
Search Community

splitText Issue: Weird line break

dada78 test
Moderator Tag

Go to solution Solved by Diaco,

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi,

I am hitting my head against the wall with this:

 

All  want is have the copy split into 2 lines that are wrapped in classes so I can style each line with a different font size.

For some reason the plugin breaks the copy into 3 lines and I can't figure out why that is? IS it a setting I am missing here?

 

Thanks,!

See the Pen 5187cd1e408a03df53b53e2528473ac5 by dada78 (@dada78) on CodePen

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...