S
S
stepaniwe2018-10-03 11:06:24
JavaScript
stepaniwe, 2018-10-03 11:06:24

How to set a class with an ordinal number to a slide in slick slider?

How to make sure that the slide corresponding in order has a certain class with the slide number. Almost succeeded, but by the 3rd slide 3 classes are already obtained: style0, style1, style2, and you only need style2

https://codepen.io/st-iv/pen/jeOMBw?editors=1011

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question