Xenex122 Posted May 21, 2022 Share Posted May 21, 2022 So I don't much any problem here..The only problem is why is there like a little space in edges of width of the gallery-container? Is this just a normal case? That's all thank you...the codes is all working but I don't know about the little white space edges. See the Pen ExQXeom by myth-vince (@myth-vince) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted May 21, 2022 Share Posted May 21, 2022 You have those elements set to display inline (well, grid-inline which is the same in this context) which honors white space. So those gaps are literally the white space from the markup. See this answer: https://stackoverflow.com/questions/19038799/why-is-there-an-unexplainable-gap-between-these-inline-block-div-elements So just eliminate the space in the markup and you'll be fine. It has nothing to do with GSAP 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