├── images ├── arrow-left.png ├── arrow-right.png ├── preset1.png ├── preset2.jpg ├── preset3.JPG ├── preset4.JPG ├── preset5.JPG ├── preset6.JPG ├── preset7.JPG ├── preset8.JPG ├── shoe1.jpg ├── shoe2.jpg └── shoe3.jpg ├── index.html └── style.css /images/arrow-left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/arrow-left.png -------------------------------------------------------------------------------- /images/arrow-right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/arrow-right.png -------------------------------------------------------------------------------- /images/preset1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/preset1.png -------------------------------------------------------------------------------- /images/preset2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/preset2.jpg -------------------------------------------------------------------------------- /images/preset3.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/preset3.JPG -------------------------------------------------------------------------------- /images/preset4.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/preset4.JPG -------------------------------------------------------------------------------- /images/preset5.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/preset5.JPG -------------------------------------------------------------------------------- /images/preset6.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/preset6.JPG -------------------------------------------------------------------------------- /images/preset7.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/preset7.JPG -------------------------------------------------------------------------------- /images/preset8.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/preset8.JPG -------------------------------------------------------------------------------- /images/shoe1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/shoe1.jpg -------------------------------------------------------------------------------- /images/shoe2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/shoe2.jpg -------------------------------------------------------------------------------- /images/shoe3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/divanov11/image_slider_frontend/d58ac4296538e0293101d8f21d5041bf2b5cc5a6/images/shoe3.jpg -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Slider 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 |
17 | 18 | 19 |
20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
32 | 33 | 34 |
35 |
36 | 37 |
38 |

Awesome Shoes

39 |
40 |

$89.99

41 | 42 |

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

43 | 44 | 45 | Add to Cart 46 |
47 | 48 |
49 | 50 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | body{ 4 | padding-top: 100px; 5 | } 6 | 7 | #content-wrapper{ 8 | display: flex; 9 | flex-wrap: wrap; 10 | justify-content: center; 11 | align-items: center; 12 | } 13 | 14 | .column{ 15 | width: 600px; 16 | padding: 10px; 17 | 18 | } 19 | 20 | #featured{ 21 | max-width: 500px; 22 | max-height: 600px; 23 | object-fit: cover; 24 | cursor: pointer; 25 | border: 2px solid black; 26 | 27 | } 28 | 29 | .thumbnail{ 30 | object-fit: cover; 31 | max-width: 180px; 32 | max-height: 100px; 33 | cursor: pointer; 34 | opacity: 0.5; 35 | margin: 5px; 36 | border: 2px solid black; 37 | 38 | } 39 | 40 | .thumbnail:hover{ 41 | opacity:1; 42 | } 43 | 44 | .active{ 45 | opacity: 1; 46 | } 47 | 48 | #slide-wrapper{ 49 | max-width: 500px; 50 | display: flex; 51 | min-height: 100px; 52 | align-items: center; 53 | } 54 | 55 | #slider{ 56 | width: 440px; 57 | display: flex; 58 | flex-wrap: nowrap; 59 | overflow-x: auto; 60 | 61 | } 62 | 63 | #slider::-webkit-scrollbar { 64 | width: 8px; 65 | 66 | } 67 | 68 | #slider::-webkit-scrollbar-track { 69 | -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 70 | 71 | } 72 | 73 | #slider::-webkit-scrollbar-thumb { 74 | background-color: #dede2e; 75 | outline: 1px solid slategrey; 76 | border-radius: 100px; 77 | 78 | } 79 | 80 | #slider::-webkit-scrollbar-thumb:hover{ 81 | background-color: #18b5ce; 82 | } 83 | 84 | .arrow{ 85 | width: 30px; 86 | height: 30px; 87 | cursor: pointer; 88 | transition: .3s; 89 | } 90 | 91 | .arrow:hover{ 92 | opacity: .5; 93 | width: 35px; 94 | height: 35px; 95 | } 96 | --------------------------------------------------------------------------------