How to add gap between images in carousel slider or remove glitch when slide
问题 I made a carousel with reference of this link and originally posted on this link but unfortunately, I want no padding in first image. So I removed padding of first image but that create big width of image. So I removed padding in all images and for gap I added margin-left .carousel-item img { padding: 0; margin-right: 1rem; /* for gap */ } but that created some type of glitch when I slide it. Is there a solution for adding gap between images (not in first and last image)? Codepen Link: https: