PSMAyhan Posted November 9, 2022 Share Posted November 9, 2022 hi im pretty new to gsap. how can i make the button move to the bottom right corner of the image wrapper when the button is clicked? See the Pen oNyBMVJ by PSM-Ayhan (@PSM-Ayhan) on CodePen Link to comment Share on other sites More sharing options...
Trapti Posted November 9, 2022 Share Posted November 9, 2022 Hi, you can adjust the position of the button See the Pen NWzdLgj?editors=1010 by tripti1410 (@tripti1410) on CodePen 1 Link to comment Share on other sites More sharing options...
PSMAyhan Posted November 15, 2022 Author Share Posted November 15, 2022 On 11/9/2022 at 6:01 PM, Trapti said: Hi, you can adjust the position of the button It definitely helps, but I would like the button to always be placed in the bottom right corner inside the container and not outside the container. Thank you Link to comment Share on other sites More sharing options...
Solution Rodrigo Posted November 15, 2022 Solution Share Posted November 15, 2022 Hi, I think this is the perfect situation for using the Flip Plugin: See the Pen yLEobVz by GreenSock (@GreenSock) on CodePen https://greensock.com/docs/v3/Plugins/Flip Happy Tweening! Link to comment Share on other sites More sharing options...
PSMAyhan Posted November 16, 2022 Author Share Posted November 16, 2022 19 hours ago, Rodrigo said: Hi, I think this is the perfect situation for using the Flip Plugin: https://greensock.com/docs/v3/Plugins/Flip Happy Tweening! This works perfect thank you! 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