I
I
Ivan Ivanov2019-10-30 21:15:41
css
Ivan Ivanov, 2019-10-30 21:15:41

How to make such a slider on Vue.js?

Good afternoon, tell me please. How to make a slider like in the picture with sliding effect on Vue.js. There is a block in which there are only 3 pictures and 4 pictures behind the block. And the pictures move to the left automatically, for example, every 3 seconds.
Can you throw any examples or explain the implementation algorithm?
5db9d3480d2f5425931123.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
inFureal, 2019-10-31
@inFureal

When will you learn to google?
https://www.npmjs.com/package/vue-slider-component

I
Ivan Likhomanov, 2019-10-31
@KraisLi

It will not be easy for a beginner to do it himself, and an experienced one often will not do it (because he knows what kind of hemorrhoid it is), but will find a library and finish it for himself.
Of the image sliders on JS, the best in my opinion is swiperjs: https://swiperjs.com/demos/
You can customize as you like + support for mobile phones out of the box

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question