F
F
faleaksey2019-07-12 19:17:23
css
faleaksey, 2019-07-12 19:17:23

How to create a parallax effect?

Hello!
There is a similar animation of expanding and collapsing blocks:
interaction.gif
Is it implemented by adding classes with the css keyframes animation property or do animation through js?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anatoly Kulikov, 2019-07-12
@faleaksey

Here you will need both. A very complex example, I completely agree.
Here it will probably be quite painful to do without vue/react/angular.
Although this effect is not original - look, perhaps something similar has been implemented and there is some kind of library. There is a site unheap, look there.

P
profesor08, 2019-07-12
@profesor08

I did not see any extreme difficulties. The most difficult thing here is to calibrate the darg&drop, that's all. The rest are simple transitions, nothing complicated. No need to look at the wow effect with your mouth open, look at what happens to the blocks. Ordinary state change by adding classes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question