Jump to content
Search Community

Cards animation

artvera test
Moderator Tag

Go to solution Solved by GSAP Helper,

Recommended Posts

[UPDATE] I finally found a solution that almost suits me (thanks to the video below). Now I'm looking for the best way to change the text color when the red background passes behind it. I've updated the CodePen.

 

Hello, I am looking to create the following effect:

  • Automatically (without hover), I would like to give the impression that a red background moves from card to card from right to left, then from left to right.
  • If possible, I would like there to be a masking effect as if the background were sliding under the gap between the cards.

Has anyone already implemented a similar effect? Any CodePen?

 

Thank you in advance.

 

image.thumb.png.4f02c843865279ddac79879e9679e29d.png

See the Pen YzgOOap by artvera_ (@artvera_) on CodePen

Edited by artvera
Update with solution
Link to comment
Share on other sites

  • Solution

Without a minimal demo, it's very difficult to troubleshoot; the issue could be caused by CSS, markup, a third party library, a 3rd party script, etc. Would you please provide a very simple CodePen or Stackblitz that illustrates the issue? 

 

Please don't include your whole project. Just some colored <div> elements and the GSAP code is best. See if you can recreate the issue with as few dependancies as possible. Start minimal and then incrementally add code bit by bit until it breaks. Usually people solve their own issues during this process! If not, at least we have a reduced test case which greatly increases your chances of getting a relevant answer.

 

That said check out this tutorial by our own @Carl, it is a scroll driven effect, but you can probably gleam some knowledge form its setup to use in your own project. 

 

 

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

that loads all the plugins. Just click "fork" at the bottom right and make your minimal demo

 

Using a framework/library like React, Vue, Next, etc.? 

CodePen isn't always ideal for these tools, so here are some Stackblitz starter templates that you can fork and import the gsap-trial NPM package for using any of the bonus plugins: 

 

Please share the StackBlitz link directly to the file in question (where you've put the GSAP code) so we don't need to hunt through all the files. 

 

Once we see an isolated demo, we'll do our best to jump in and help with your GSAP-specific questions. 

  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...
On 2/9/2024 at 2:52 PM, GSAP Helper said:

Without a minimal demo, it's very difficult to troubleshoot; the issue could be caused by CSS, markup, a third party library, a 3rd party script, etc. Would you please provide a very simple CodePen or Stackblitz that illustrates the issue? 

 

Please don't include your whole project. Just some colored <div> elements and the GSAP code is best. See if you can recreate the issue with as few dependancies as possible. Start minimal and then incrementally add code bit by bit until it breaks. Usually people solve their own issues during this process! If not, at least we have a reduced test case which greatly increases your chances of getting a relevant answer.

 

That said check out this tutorial by our own @Carl, it is a scroll driven effect, but you can probably gleam some knowledge form its setup to use in your own project. 

 

 

 

that loads all the plugins. Just click "fork" at the bottom right and make your minimal demo

 

 

Using a framework/library like React, Vue, Next, etc.? 

CodePen isn't always ideal for these tools, so here are some Stackblitz starter templates that you can fork and import the gsap-trial NPM package for using any of the bonus plugins: 

 

Please share the StackBlitz link directly to the file in question (where you've put the GSAP code) so we don't need to hunt through all the files. 

 

Once we see an isolated demo, we'll do our best to jump in and help with your GSAP-specific questions. 

Thanks for the tutorial link, I will watch it thoroughly, if I want to know more, I will ask by starting my thread for better conversation.

Link to comment
Share on other sites

  • 2 weeks later...

  

On 2/9/2024 at 2:52 PM, GSAP Helper said:

Without a minimal demo, it's very difficult to troubleshoot; the issue could be caused by CSS, markup, a third party library, a 3rd party script, etc. Would you please provide a very simple CodePen or Stackblitz that illustrates the issue? 

 

Please don't include your whole project. Just some colored <div> elements and the GSAP code is best. See if you can recreate the issue with as few dependancies as possible. Start minimal and then incrementally add code bit by bit until it breaks. Usually people solve their own issues during this process! If not, at least we have a reduced test case which greatly increases your chances of getting a relevant answer.

 

That said check out this tutorial by our own @Carl, it is a scroll driven effect, but you can probably gleam some knowledge form its setup to use in your own project. 

 

 

 

that loads all the plugins. Just click "fork" at the bottom right and make your minimal demo

 

 

Using a framework/library like React, Vue, Next, etc.? 

CodePen isn't always ideal for these tools, so here are some Stackblitz starter templates that you can fork and import the gsap-trial NPM package for using any of the bonus plugins: 

 

Please share the StackBlitz link directly to the file in question (where you've put the GSAP code) so we don't need to hunt through all the files. 

 

Once we see an isolated demo, we'll do our best to jump in and help with your GSAP-specific questions. 

Thanks for the tutorial link, I will watch it thoroughly, if I want to know more, I will ask by starting my thread for better conversation. I would like to share with you all that, as a student, writing book reports is something I dislike doing. In an attempt to discover a solution, I came across https://academized.com/book-report-writing-service academized. I evaluated them, was legitimate, and am now completely free. If you find yourself among those who dislike writing book reports, you may look at academized.

 

My issue was resolved. Thank you again, for helping me out

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