Scroll inside the photo gallery box, stop scrolling, and see the scroll-snap effect with snap position end in the inline direction for the child elements and scroll-padding-inline-end 30px for the container. The effect of the scroll-padding-inline-end property value is that the images come out from behind the fixed element on the right.