How to use slick slider jQuery

How to use slick slider jquery

A simple way to use slick slider jQuery, This is a 

Fully Responsive & Flexible jQuery slider 

Slick is a fresh new jQuery plugin for creating fully customization, responsive and mobile friendly carousels/sliders that work with any html elements.

How to use slick slider jQuery


 CSS 
<link href="http://kenwheeler.github.io/slick/slick/slick.css" type="text/css" rel="stylesheet"/>

<style type="text/css">
.lazy {
    width: 30%;
    background: wheat;
    height: 400px;
    margin: 0 auto;
    font-size: 50px;
    text-align: center;
}
</style>


More information please visit this url https://www.papawebdesigner.com/
https://www.papawebdesigner.com/




 HTML 

<div class="lazy">
  <div><h3>Test 1</h3></div>
  <div><h3>Test 2</h3></div>
  <div><h3>Test 3</h3></div>
  <div><h3>Test 4</h3></div>
  <div><h3>Test 5</h3></div>
</div>


 JS 

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="http://kenwheeler.github.io/slick/slick/slick.js"></script>

<script type="text/javascript">
$('.lazy').slick({
      lazyLoad: 'ondemand',
      slidesToShow: 1,
      slidesToScroll: 1
    });
</script>


Follow On Social Media -

Follow on instagram   -  https://www.instagram.com/frontendissue/  
Follow on Twitter       -  https://twitter.com/IssueEnd
Follow on pinterest    -  https://in.pinterest.com/frontendissue/





Comments

Popular posts from this blog

Owl carousel center mode with zoom image

How to owl carousel center mode with zoom image?

Hide & show a div using jquery