Date : 1st February 2025

For all the latest browsers

CSS ONLY automatic slideshow with manual selection of images.

Click/tap a thumbnail image or arrow to go to straight to that image.
The slideshow will continue from the selected image.

New Zealand #1
Queenstown - South Island

New Zealand #2
Queenstown - South Island

New Zealand #3
Arrow Town - South Island

New Zealand #4
Arrow Town - South Island

New Zealand #5
Waitaki - South Island

New Zealand #6
Methven - South Island

New Zealand #7
Christchurch - South Island

New Zealand #8
Christchurch - South Island

New Zealand #9
Waimate - South Island

Information

Following on from the previous version, this slideshow has the extra abilities to have captions for each slide, have previous / next arrows and the thumbnail indication of the current slide.

So FINALLY!! a CSS ONLY automatic slideshow that allows you to manually select the next image without switching to a manual mode which is as good as any javascript/jQuery version.

The slideshow stays in automatic mode and after selecting the next image shown it will continue in automatic mode from the selected image.

This uses 'transitions' instead of @keyframes to animate the images so there is no jump when selecting a new image.

However, it does use two @keyframes that increase the width of a containing element. The width is checked using @container queries and it is this width that is used to select the image to be displayed.

So, with just a few lines of CSS and HTML, finally a slideshow to match a javascript/jQuery version and it works in all the latest browsers.

Once all browsers support @keyframes animation of css variables, this method using @container queries can be made even simpler.

If you want to use this slideshow in your website design please keep the copyright comment in the stylesheet and consider making a support donation. Every little helps in keeping this website going. Note that I have stopped using intrusive Google advertising.

Please consider making a donation, every little helps.