Answer the question
In order to leave comments, you need to log in
How to include dependencies or devDependencies?
For example, I have reset-css, it is written in (sass | less | css) and I import it as a sass file, where should I include it? In dependencies
or devDependencies
? I don't really understand the difference in this case
Answer the question
In order to leave comments, you need to log in
In dependencies
you connect everything that will be used in production. Your end user will see the work in his browser reset-css
- that means in dependencies
.
In devDependencies
everything that is not directly used in production. For example, typescript or node-sass, which are only needed at the build stage.
Read about addeventlistener in javascript, it's the easiest way to make the animation you need. No one will show you a ready-made solution, because you need to clearly understand what needs to be done.
I can briefly say about this eventlistener : with it, you can catch the beginning / end of the animation (in your case, this is the movement from and to), after which you simply add / remove the css class of your animation.
Take a look, choose and use what suits you best =)
webformyself.com/top-9-bibliotek-dlya-animacii-v-2...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question