S
S
Sasha2015-08-05 02:18:23
css
Sasha, 2015-08-05 02:18:23

What would you choose? GSAP vs CSS3+js, which is better?

I want to animate svg, I found a bunch of options, but settled on two.
In advance, I know html, css, svg, etc. But svg was not aminated, only css. And so, the options.
1. Contact GSAP.
+ speed of development
+ performance
+ cross
-browser compatibility - you need to spend some time studying the documentation.
2. Use css3.
all + and - css
+ Clear code.
-Most likely you can't do without js.
Help me finally decide. What are you using and why?
To knowledgeable people, about GSAP, does it support events or do you have to prescribe it yourself?
For example, if you clicked here, the animation worked once. Or do you still have to resort to js and write all this logic?
And a couple of nuances, GSAP is most likely worth using when there are sooo many animations, and css when a couple of emails. Correct me if I'm wrong. Thanks for answers.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Taratin, 2015-08-06
@svgishe

GSAP already uses css3 animations when possible.
Use GSAP.

V
v- death, 2015-08-05
@vGrabko99

Well, there’s nothing that gsap is the same js?)

A
Alexey, 2015-09-13
@alexeyfedotof

For events like clicked and the animation started, you have to write js. For events like scrolling, there are plugins like scrollmagic.io .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question