D
D
denisdolzhikov2020-07-08 08:37:00
Slider
denisdolzhikov, 2020-07-08 08:37:00

How to implement a complex animation transition for a slider?

We need to make an animated transition for the text in the slides, like here:
https://demo.yootheme.com/themes/joomla/2018/visio... .

If you add a class with the usual css animation to the slide change event, the effect will appear only after it is changed, and this is not quite what you need.

It is necessary that when the left mouse button is held down, when the cursor moves to the left or right, the text moves in proportion to the movement of the hand, as in the above slider.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
approximate solution, 2020-07-08
@approximate_solution

If you look into Devtools, you can see that this slider is not self-written, but is part of UIKIT.
Implement it and customize it for yourself, the dock is present at the link. No need to write a bicycle, in extreme cases, look at the code in the same devtools, and "gently steal".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question