Jump to content
Search Community

fade between two classes, same space

Sunflair test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

I am trying to do a gentle fade between a time stamp and a date stamp (because of space issues).

 

I am failing on it miserably. It seems I can get it to work the way I want only the first time, then it doesn't. I have commented out the tries I have done today, but it chunks on, and fades off, or overlaps and stays.

 

I hope it is clear what I am trying to do. Can you help? I have watched videos and read, but nothing is precisely how I want it to go, and I am finding it hard to map over.

See the Pen PoJVvyQ by sunflair0 (@sunflair0) on CodePen

Link to comment
Share on other sites

So, update if you want to know, I ended up changing the positioning in HTML so that wasn't an issue anymore. 

I learned that if I am going to do a codepen, to include the parts that I don't think are important. 

The gsap was a part of a larger one, and I ended up making two timelines then combining them at the bottom for a master one and that did the trick.

 

I am writing this in case I become a time traveler in the past and need to find out what solution finally worked for me :D

  • Haha 1
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...