Responsive CSS Vertical Image Slider with Thumbnail Plugin

Responsive CSS vertical slider with thumbnails where users can slide between images by clicking on the side mobility. Supported by CSS3 FlexBox and transforming properties.

responsive slider with vertical thumbnails, vertical image slider html css, vertical image slider bootstrap, auto scroll vertical slider plugin, automatic multiple image slider

How to make use of it:

1. Create a list of images for mixing/slider.

<ul class="slides">
  <li id="slide1"><img src="1.jpg" alt="" /></li>
  <li id="slide2"><img src="2.jpg" alt="" /></li>
  <li id="slide3"><img src="3.jpg" alt="" /></li>
  <li id="slide4"><img src="4.jpg" alt="" /></li>
  <li id="slide5"><img src="5.jpg" alt="" /></li>
</ul>

2. Create mini navigation to mix.

<ul class="thumbnails">
  <li>
    <a href="#slide1"><img src="1.jpg" /></a>
  </li>
  <li>
    <a href="#slide2"><img src="2.jpg" /></a>
  </li>
  <li>
    <a href="#slide3"><img src="3.jpg" /></a>
  </li>
  <li>
    <a href="#slide4"><img src="4.jpg" /></a>
  </li>
  <li>
    <a href="#slide5"><img src="5.jpg" /></a>
  </li>
</ul>

3. The main css for slider.

.slides { overflow: hidden; }
.slides, .slides li {
  width: 75vmin;
  height: 100vmin;
}
.slides img {
  height: 100vmin;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
}
.slides li {
  position: absolute;
  z-index: 1;
}
.slides li:target {
  z-index: 3;
  -webkit-animation: slide 1s 1;
}
.slides li:not(:target) { -webkit-animation: hidden 1s 1; }

4. Mini navigation thumbnail.

.thumbnails {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  line-height: 0;
}
.thumbnails li {
  -webkit-box-flex: 1;
  -ms-flex: auto;
  flex: auto;
}
.thumbnails a { display: block; }
.thumbnails img {
  width: 30vmin;
  height: 20vmin;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
}

5. CSS animation.

@-webkit-keyframes 
slide {  0% {
 -webkit-transform: translateY(-100%);
 transform: translateY(-100%);
}
 100% {
 -webkit-transform: translateY(0%);
 transform: translateY(0%);
}
}
@keyframes 
slide {  0% {
 -webkit-transform: translateY(-100%);
 transform: translateY(-100%);
}
 100% {
 -webkit-transform: translateY(0%);
 transform: translateY(0%);
}
}
@-webkit-keyframes 
hidden {  0% {
 z-index: 2;
}
 100% {
 z-index: 2;
}
}
@keyframes 
hidden {  0% {
 z-index: 2;
}
 100% {
 z-index: 2;
}
}

responsive vertical image slider, responsive css vertical slider with thumbnails Plugin/Codepen


See Demo And Download

Official Website(huijing): Click Here

This superior jQuery/javascript plugin is developed by huijing. For extra advanced usage, please go to the official website.

Related Posts

Input-Values-Using-Mouse-Drag

Create Side Sliders Input Values Using Mouse Drag | Pointer Lock

HTML Range Slider is a lightweight library to create side sliders to adjust values easily and precisely by making use of the Pointer Lock API. Side Slider…

simple-parallax-scrolling-js

Smooth and Lightweight Parallax Scroll Library in Pure Javascript

Lightweight and seamless parallax scrolling library implemented in pure javascript using hardware acceleration for additional performance. Main Features Extremely lightweight with no dependencies A few kilobytes of pure…

Convert-Form-Data-to-JSON

How to Convert Form Data to JSON with HTML Forms | FormsJS

FormsJS is a simple-to-use JavaScript library that covers type subject values to JSON in real time. The items containing the data category will be analyzed automatically. It…

editable-html-table-using-javascript

A Small jQuery Extension to Convert An Editable HTML Table

Editable Table is a small jQuery extension to convert an editable HTML table for fast data entry and validation. A small jQuery extension to convert a static…

jquery.youtube-background

Simple jQuery Plugin for Embedding YouTube Videos As Cover Background

jquery.youtube-background is a jQuery plugin built to facilitate YouTube embeds as cover wallpaper using the YouTube Embed API. There is another jQuery Youtube Video Background plugin that…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…