Auto-Scrolling Gallery
A continuously auto-scrolling multi-image gallery, via Splide.
Requires Bootstrap 5, Splide. Add the CDN tags below to your page (styles in
<head>, scripts before </body>). The downloaded file already includes them.<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@splidejs/splide@4.1.4/dist/css/splide.min.css"><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script><script src="https://cdn.jsdelivr.net/npm/@splidejs/splide@4.1.4/dist/js/splide.min.js"></script><div class="splide" id="spGal" style="width:360px;max-width:100%"><div class="splide__track"><ul class="splide__list">
<li class="splide__slide"><div class="rounded-3" style="height:180px;background:linear-gradient(135deg,#7b2ff7,#f107a3)"></div></li>
<li class="splide__slide"><div class="rounded-3" style="height:180px;background:linear-gradient(135deg,#0d6efd,#00d4ff)"></div></li>
<li class="splide__slide"><div class="rounded-3" style="height:180px;background:linear-gradient(135deg,#16a34a,#a3e635)"></div></li>
<li class="splide__slide"><div class="rounded-3" style="height:180px;background:linear-gradient(135deg,#f59e0b,#ef4444)"></div></li>
</ul></div></div>new Splide('#spGal',{perPage:2,gap:'10px',type:'loop',autoScroll:{speed:1},drag:'free',arrows:false,pagination:false,autoplay:true,interval:1800}).mount();Free to use.This component uses Bootstrap 5, Splide (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.