DaniilPrince Posted February 4, 2022 Share Posted February 4, 2022 How can I do exactly the same, only inside one block, since the position is fixed now and it will be drawn to the top of the screen See the Pen PoWapLP by BrianCross (@BrianCross) on CodePen Link to comment Share on other sites More sharing options...
DaniilPrince Posted February 4, 2022 Author Share Posted February 4, 2022 2 minutes ago, DaniilPrince said: I need only animation between slides and that's all, but no matter how I change the css, the problem is most likely in GSAP, which I can't figure out Link to comment Share on other sites More sharing options...
OSUblake Posted February 4, 2022 Share Posted February 4, 2022 14 minutes ago, DaniilPrince said: the problem is most likely in GSAP, which I can't figure out I can guarantee you it's not GSAP. I don't know how you're positioning stuff, but if you're using absolute, you need make sure the container has position applied to it in the CSS. 1 Link to comment Share on other sites More sharing options...
elegantseagulls Posted February 4, 2022 Share Posted February 4, 2022 You'll also probably want to use overflow: hidden on your slide-wrapper. It'd be very helpful if we had a minimal codepen demo to see where you're going wrong. 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