See the Code - See it Full Page - See Details
Not the most robust slideshow ever (it's meant to be a pretty simple example), but one nice thing about this approach is it uses JS for class-switching but the transitions are all CSS, so it'd be easy to swap the fade-in-out with some other transition. Should work on all modern browsers including IE 10+ (but I haven't tested it!) Step-by-step blog post here: http://themarklee.com/2013/12/26/simple-diy-responsive-slideshow-made-html5-css3-javascript/ jQuery version (including TouchSwipe for mobile devices) can be found here: http://codepen.io/leemark/pen/Ddgsx
This Pen uses: HTML, CSS, JavaScript, and