signsi Posted December 28, 2022 Share Posted December 28, 2022 Hi all I am working on a personal portfolio site. Similar to instagram, I want to showcase some photos inside an image carousel. So far so god, the scrolling already moves the image through the viewport. Unfortunately there is a very small gap, visible in safari and chrome. It is a tiny, flickering white line between the individual images. I've already tried the different parameters in the gsap / scrolltrigger configuration - so far without success. Thanks See the Pen gOjPyjr?editors=1111 by signsi (@signsi) on CodePen Link to comment Share on other sites More sharing options...
Solution GreenSock Posted December 28, 2022 Solution Share Posted December 28, 2022 Yeah, that actually has nothing to do with GSAP - it's just a browser rendering thing. You could set a margin on the images to -0.5px so that they overlap very slightly. Does that help? Link to comment Share on other sites More sharing options...
signsi Posted December 29, 2022 Author Share Posted December 29, 2022 Thanks a lot. Adding -0.5px helped. 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