renny Posted July 20, 2022 Share Posted July 20, 2022 Home Page Protoype 100 (online-video-cutter.com) (1).mp4 See the Pen JjLGYGW by solace-digital (@solace-digital) on CodePen 1 Link to comment Share on other sites More sharing options...
mvaneijgen Posted July 20, 2022 Share Posted July 20, 2022 @renny to bad you didn't take a swing at coding it your self. I find the best way to learn is to just build it and even if your code doesn't work share it, this way others can give you pointers on why your thought process wouldn't work. What I did is copy the text and placed them underneath each other (I have add SCSS to your codepen, because I find that easier to write) and then add a clipPath to the fill element. Which is then animated from the bottom to the top. I'll leave adding it to ScrollTrigger to you, but be sure to post back if you have any trouble, but I'll then encourage you to include the none working code. See the Pen PoRmwbW?editors=0110 by mvaneijgen (@mvaneijgen) on CodePen Link to comment Share on other sites More sharing options...
renny Posted July 20, 2022 Author Share Posted July 20, 2022 i know that, but haven't any idea how to impletemnt that. Thanks fir this solution Last one how to rever that fill color ? like if we scroll up to fill out black color Link to comment Share on other sites More sharing options...
mvaneijgen Posted July 20, 2022 Share Posted July 20, 2022 6 minutes ago, renny said: Last one how to rever that fill color ? like if we scroll up to fill out black color That I'll leave to you. Just try hooking it up to ScrollTrigger and if you have any trouble post back here. A great place to start is https://greensock.com/docs/v3/Plugins/ScrollTrigger 1 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