Jump to content
Search Community

Splittext randomly not breaking at <br>

sirhclluk test
Moderator Tag

Recommended Posts

I've been having issues recently using splittext in banners. The issue is the text isn't always breaking at the <br>.  Not so much an issue with Chrome, but still randomly happens. I see the info on this page https://greensock.com/docs/v3/Plugins/SplitText  at Notes & limitations, but maybe you could help me more here.

Is there an issue where I have these placed?

My links to google fonts are pasted just before the end of the </head>

My links to js files are just before the end of the </body>

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.10.4/gsap.min.js"></script>
<script src="js/SplitText.min.js"></script>
<script src="js/greensock_Animations.js"></script>

 

Thanks

Chris

See the Pen VwXqajR by sirhclluk (@sirhclluk) 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...