D
D
Dubolom Unicellular2019-12-21 12:31:27
JavaScript
Dubolom Unicellular, 2019-12-21 12:31:27

Why slick slider doesn't want to work?

I have slider:

<div class="slick-slider">
      <div class="slide">
        <h2>1</h2>
      </div>
      <div class="slide">
        <h2>1</h2>
      </div>
<div class="slide">
        <h2>1</h2>
      </div>
    </div>

There is JS: But it does not want to work, instead it flies out of the window, I turned on the dots parameter, but when I press the 2nd dot, the slider flies out of the window even more. It's the first time I've come across this. Thanks in advance for your reply.
$('.slick-slider').slick();

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kafeuri1989, 2019-12-27
@kafeuri1989

Wrap it in a block with position relative and a specific width

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question