CSS Stacked Slideshow
20th March 2011
Updated 13th February 2013
For IE7, IE8, IE9, IE10, IE10 touch screen, Firefox, Safari, Chrome and Opera
copyright © stu nicholls - CSS play
Just to see if this was possible using only CSS. A simple slideshow that is animated in Safari, Chrome, Opera and Firefox v4 beta. Just click the top image to see the next image in the stack.
When you get to the last image the slideshow starts again with the first image.
Internet Explorer IE7, IE8 and IE9 use a single line htc file to overcome the bug where it does not refresh the element when using :active with the general sibling selector. This is covered by two lines in the stylesheet.
Safari and Chrome are now able to keep the :focus styling even when the mouse button is released. This is done using just CSS.
11ht November 2011
The code and the stylesheet has been updated to use my latest techniques to give a much smoother transition between images and to improve the wraparound when moving from the last image to the first. Safari gives the best results.
You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.
Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.
If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.