Evol
Evol

Reputation: 113

How add transition for translateX with one timing function and transition for translateY with another timing function simultaneously?

I would add transition for translateX with one timing function and transition for translateY with another timing function simultaneously

code:

transform: translateX(200px) translateY(200px);
transition: translateX 1s linear, translateY 1s cubic-bezier(.66,-0.68,.96,.56);

How can I do it?

Upvotes: 0

Views: 387

Answers (1)

MeTe-30
MeTe-30

Reputation: 2542

Not pure CSS, but even better than CSS Transition or jQuery animation!
You can use [ VELOCITY.JS ]

See what you want [ HERE ]

Good Luck

Upvotes: 1

Related Questions