<div style="width: 100%; padding-bottom: 25%" data-simple-slider> <img src="https://unsplash.it/640/160?random=1"/> <img src="https://unsplash.it/640/160?random=2"/> <img src="https://unsplash.it/640/160?random=3"/> </div> <script src="https://rawgit.com/ruyadorno/simple-slider/master/dist/simpleslider.min.js"></script> <script> simpleslider.getSlider(); </script>