title: Slick Slider responsive breakpoints width is not working
body: <p>I have created slider using slick slider. The issue I have is that the width of the working fine with breakpoints for online.</p>
  
  <p>However the same code is not working when I write in normal <a href="https://wetransfer.com/downloads/5956e85a6b3cc1b3ee55d7d34dc997cc20200408134942/be7337" rel="nofollow noreferrer">html file</a>. Can any one help me with this. Check from inspect and see for both normal and online code.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>let slider = $(".slider");
  
  slider.not('.slick-initialized').slick({
    autoplay: false,
    infinite: true,
    vertical: false,
    dots: true,
    arrows: true,
    slidesToShow: 1,
    slidesToScroll: 1,
    customPaging: function(slider, i) {},
    responsive: [{
      breakpoint: 1024,
      settings: {
        slidesToShow: 1,
        slidesToScroll: 1,
        arrows: false,
        vertical: false,
      },
    }, {
      breakpoint: 600,
      settings: {
        slidesToShow: 1,
        slidesToScroll: 1,
        arrows: false,
        vertical: false,
      },
    }, {
      breakpoint: 480,
      settings: {
        slidesToShow: 1,
        slidesToScroll: 1,
        arrows: false,
        vertical: false,
      },
    }]
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.slide-img {
    text-align: center;
    height: 150px;
    width: auto;
  }
  
  .main-title {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 12px;
  }
  
  .description {
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 18px;
  }
  
  .know-more {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    line-height: 20px;
    text-decoration: none;
  }
  
  .know-more:focus {
    outline: none;
  }
  
  .know-more img {
    display: inline-block;
    margin-left: 8px;
    margin-bottom: -2px;
    width: 14px;
    height: 14px !important;
  }
  
  .text-xs-center {
    text-align: center !important;
    padding: 40px 15px !important;
  }
  
  .slider {
    width: auto;
    margin: 30px;
  }
  
  .slider .slick-slide {
    background: #292e3e;
    color: white;
    padding: 40px 0;
    font-size: 30px;
    font-family: "Arial", "Helvetica";
    text-align: center;
  }
  
  .slider .slick-prev:before,
  .slider .slick-next:before {
    color: #292e3e;
  }
  
  .slider .slick-slide:nth-child(odd) {
    background: #57C09F;
  }
  
  .slick-slide img {
    display: initial !important;
  }
  
  .slick-dots li {
    display: inline-block;
    width: 6px !important;
    height: 6px !important;
    background: #cccccc;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    position: relative;
  }
  
  .slick-dots li.slick-active {
    background: #26d400;
    width: 31px !important;
    height: 6px !important;
    border-radius: 4px;
    border: none;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel='stylesheet' href='https://rawgit.com/kenwheeler/slick/master/slick/slick.css'&gt;
  &lt;link rel='stylesheet' href='https://rawgit.com/kenwheeler/slick/master/slick/slick-theme.css'&gt;
  
  &lt;section class="slider"&gt;
    &lt;div class="text-xs-center"&gt;
      &lt;img class="slide-img" src="https://webfeb.in/wp-content/uploads/2016/11/logo-design-for-it-company.jpg"&gt;
      &lt;h2 class="main-title"&gt;HEAD TITLE 1&lt;/h2&gt;
      &lt;h3 class="description"&gt;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&lt;/h3&gt;
      &lt;a class="know-more" href="#"&gt;LEARN MORE&lt;img src="https://www.kindpng.com/picc/m/141-1415295_red-right-arrow-hd-png-download.png" alt=""&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div class="text-xs-center"&gt;
      &lt;img class="slide-img" src="https://cdn5.vectorstock.com/i/1000x1000/08/04/umbrella-protection-company-logo-concept-vector-2740804.jpg"&gt;
      &lt;h2 class="main-title"&gt;HEAD TITLE 2&lt;/h2&gt;
      &lt;h3 class="description"&gt;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&lt;/h3&gt;
      &lt;a class="know-more" href="#"&gt;LEARN MORE&lt;img src="https://www.kindpng.com/picc/m/141-1415295_red-right-arrow-hd-png-download.png" alt=""&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div class="text-xs-center"&gt;
      &lt;img class="slide-img" src="https://webfeb.in/wp-content/uploads/2017/05/digital-world-design.jpg"&gt;
      &lt;h2 class="main-title"&gt;HEAD TITLE 3&lt;/h2&gt;
      &lt;h3 class="description"&gt;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&lt;/h3&gt;
      &lt;a class="know-more" href="#"&gt;LEARN MORE&lt;img src="https://www.kindpng.com/picc/m/141-1415295_red-right-arrow-hd-png-download.png" alt=""&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div class="text-xs-center"&gt;
      &lt;img class="slide-img" src="https://previews.123rf.com/images/mahabiru/mahabiru1601/mahabiru160100044/50770590-business-corporate-letter-d-logo-design-vector-.jpg"&gt;
      &lt;h2 class="main-title"&gt;HEAD TITLE 4&lt;/h2&gt;
      &lt;h3 class="description"&gt;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&lt;/h3&gt;
      &lt;a class="know-more" href="#"&gt;LEARN MORE&lt;img src="https://www.kindpng.com/picc/m/141-1415295_red-right-arrow-hd-png-download.png" alt=""&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div class="text-xs-center"&gt;
      &lt;img class="slide-img" src="https://previews.123rf.com/images/hartgraphic/hartgraphic1712/hartgraphic171200016/92243101-digital-cube-icon-.jpg"&gt;
      &lt;h2 class="main-title"&gt;HEAD TITLE 5&lt;/h2&gt;
      &lt;h3 class="description"&gt;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&lt;/h3&gt;
      &lt;a class="know-more" href="#"&gt;LEARN MORE&lt;img src="https://www.kindpng.com/picc/m/141-1415295_red-right-arrow-hd-png-download.png" alt=""&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div class="text-xs-center"&gt;
      &lt;img class="slide-img" src="https://previews.123rf.com/images/putracetol/putracetol1701/putracetol170100016/69776339-digital-cube-logo.jpg"&gt;
      &lt;h2 class="main-title"&gt;HEAD TITLE 6&lt;/h2&gt;
      &lt;h3 class="description"&gt;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&lt;/h3&gt;
      &lt;a class="know-more" href="#"&gt;LEARN MORE&lt;img src="https://www.kindpng.com/picc/m/141-1415295_red-right-arrow-hd-png-download.png" alt=""&gt;&lt;/a&gt;
    &lt;/div&gt;
  &lt;/section&gt;
  &lt;script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'&gt;&lt;/script&gt;
  &lt;script src='https://kenwheeler.github.io/slick/slick/slick.js'&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I mean in <a href="https://codepen.io/pavankumar_kori/pen/abvowxV" rel="nofollow noreferrer">codepen</a> or <a href="https://jsfiddle.net/bh6eop5f/" rel="nofollow noreferrer">JSFiddle</a>.  </p>