1.1.2 • Published 4 years ago

my-slick-gallery v1.1.2

Weekly downloads
17
License
MIT
Repository
github
Last release
4 years ago

my-slick-gallery

Demo

https://vladshestakov.github.io/slick-gallery/

Installation

  1. Add assets to your page
<script src="https://cdn.jsdelivr.net/npm/my-slick-gallery@1.1.2/slick-gallery.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/my-slick-gallery@1.1.2/slick-gallery.min.css">
  1. Add a "slick-gallery" class to slick element.
<div class="my-slick slick-gallery">
    <div><img src="images/1.jpg" alt=""></div>
    <div><img src="images/2.jpg" alt=""></div>
    <div><img src="images/3.jpg" alt=""></div>
    <div><img src="images/4.jpg" alt=""></div>
    <div><img src="images/5.jpg" alt=""></div>
    <div><img src="images/6.jpg" alt=""></div>
</div>
  1. That's all! Enjoy your full-screen gallery.

Screenshot

Customize

Example scss styles to adapt the appearance to your site.

$primary_color: #333;
$secondary_color: #eee;

div.slick-box{
    &__arrow{ /* Arrow background */
        background: $secondary_color;

        svg line{ /* Arrow color */
            stroke: $primary_color;
        }

        &--next,
        &--prev{ /* Arrow border */
            border-right: 4px solid $primary_color;
        }
    }
    
    &__preview{ /* Preview box background color */
        background: $primary_color;
    }

    &__close{ /* Close button background */
        background: $primary_color;
    }
}

License

MIT

1.1.1

4 years ago

1.1.0

4 years ago

1.1.2

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago