Jump to content
Search Community

Underlined Split Text?

PixelDynamics test
Moderator Tag

Go to solution Solved by PointC,

Recommended Posts

Hi Guys,

 

I'm brand new to using GSAP and I've been working on getting the text to appear from a masked line and I've got it working perfeclty by line and also by words!

 

My issue is that even though I've added <u>/<u> around certain words and even written <span style="text-decoration:underline;"></span> whenever the script executes it doesn't display the underline.

 

I'm also struggling with getting the text to display on scroll instead of all just appearing when utilising the same script but in a longer paragraph.

 

Any help would be GREATLY appreciated.

 

Thank you so much.

 

Paul

See the Pen OJjEWQX by PixelDynamics (@PixelDynamics) on CodePen

Link to comment
Share on other sites

47 minutes ago, PixelDynamics said:

I'm also struggling with getting the text to display on scroll instead of all just appearing when utilising the same script but in a longer paragraph.


In terms of the text-on-scroll bit - have you seen our scroll plugin ScrollTrigger?

It makes scroll animations nice and easy!

See the Pen MWvXmpa by GreenSock (@GreenSock) on CodePen

  • Like 3
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...