├── README.md ├── css └── style.css ├── images ├── a.jpg ├── b.jpg ├── c.jpg ├── d.jpg └── e.jpg ├── index.html └── js └── main.js /README.md: -------------------------------------------------------------------------------- 1 | # Javascript Image Slider 2 | Html, Css and Javascript Image Slider with control buttons 3 | 4 | [Live Preview](https://skcals.github.io/javascript_image_slider) 5 | -------------------------------------------------------------------------------- /css/style.css: -------------------------------------------------------------------------------- 1 | /*css/style.css */ 2 | 3 | .slider{ 4 | margin:50px auto; 5 | width:50%; 6 | } 7 | 8 | .img-box img{ 9 | width:100%; 10 | } 11 | 12 | .btn{ 13 | border:none; 14 | outline:none; 15 | background:#888; 16 | padding:10px 30px; 17 | font-size: 20px; 18 | color:#ddd; 19 | cursor: pointer; 20 | margin:10px auto; 21 | } 22 | 23 | .btn:hover{ 24 | background: #111; 25 | } -------------------------------------------------------------------------------- /images/a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skcals/javascript_image_slider/d98a3413b24a712cf05270f2b92186a4a1dcba3c/images/a.jpg -------------------------------------------------------------------------------- /images/b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skcals/javascript_image_slider/d98a3413b24a712cf05270f2b92186a4a1dcba3c/images/b.jpg -------------------------------------------------------------------------------- /images/c.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skcals/javascript_image_slider/d98a3413b24a712cf05270f2b92186a4a1dcba3c/images/c.jpg -------------------------------------------------------------------------------- /images/d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skcals/javascript_image_slider/d98a3413b24a712cf05270f2b92186a4a1dcba3c/images/d.jpg -------------------------------------------------------------------------------- /images/e.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skcals/javascript_image_slider/d98a3413b24a712cf05270f2b92186a4a1dcba3c/images/e.jpg -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |