D
D
Dmitry2017-08-20 14:12:59
JavaScript
Dmitry, 2017-08-20 14:12:59

How to move it to the first position when clicking on a slide?

The meaning is this, there is a slider, it displays 4 items, when you click on the slide, a class is added to it and changes its appearance to active, but it still needs to be somehow moved to the first position. How can I move the slide to the first position when I click on it?
Here's the slider itself:
69945dc008a9493b9c2182501411e734.png

Here's what you need when you click on the slide:
9c01db5923cc44c1b14a647cb3e431fb.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robert Bl, 2017-08-20
@Robert_blk

Sketched quickly https://codepen.io/Robert_bl/pen/rzpKEK

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question