Share Posted November 14, 2020 Hello everyone, I'm trying to achieve the same effect as seen here See the Pen ba262dac3da9d7f47b81e2adb7fa0fd3 by a-trost (@a-trost) on CodePen Doesn't seem to be working properly. I also tried setting the y value back to 0 in the tl See the Pen pobGKGM by ebinabo (@ebinabo) on CodePen Link to comment Share on other sites More sharing options...
Author Share Posted November 14, 2020 Ideally the first image should go right under the next one after it goes out of view. This might be better with images that are longer than the wrapper actually? Link to comment Share on other sites More sharing options...
Share Posted November 14, 2020 Have a look at the ModifiersPlugin for infinite possibilities 😉 1 Link to comment Share on other sites More sharing options...
Author Share Posted November 14, 2020 @Shrug ¯\_(ツ)_/¯ alright, could you let me know how it can be used in this case? Link to comment Share on other sites More sharing options...
Share Posted November 16, 2020 Hey ebinabo. First off, when creating edits of demos that you've posted in these forums, please make sure to use the "fork" button so that the previous version is retained. That way we have context. Right now your attempt is gone because you've been playing with things. There are two ways to create this sort of effect: Do it like the demo that you show does it: you duplicate the content and then use code similar to what you had originally. Just make sure the animation moves all the content but only goes to far enough to where the duplicate is in the exact position as the start - then loop. Use the modifiers plugin like Shrug suggested. In this case it'd be best to break up each line into its own element (perhaps SplitText would be helpful for that). Then use an approach similar to the one in this thread. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now