usted Posted August 21, 2024 Posted August 21, 2024 Hi there I have pinned some content to horizontal scroll. But when I'm on phone-size the elements is less than 100% height which result in a large pin area underneath. The content underneath is suppose to be right underneath during the horizontal scroll. You can see a Codepen here: Thanks, Andreas See the Pen GRbxEMd by andreas-rasmussen (@andreas-rasmussen) on CodePen.
Solution mvaneijgen Posted August 21, 2024 Solution Posted August 21, 2024 Hi @usted welcome to the forum! Just wrap everything you want to pin in an element and pin that element. Hope it helps and happy tweening! See the Pen BagrZEb?editors=0010 by mvaneijgen (@mvaneijgen) on CodePen. 1
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