C
C
Caffeinee2020-04-20 16:16:32
css
Caffeinee, 2020-04-20 16:16:32

Is there any way to override the transition with something like preventDefault()?

Change to hover via transition polygon using clip-path. When I stop hovering over it, moving along the animation path, the element has the expected epileptic fit. You can somehow attach an eventListener to it and through it (cancel the cancellation) of the transition. To start transition'a a prerequisite -> end of the previous ?.

https://codepen.io/caffeineggs/pen/MWajoeK

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
drawnofmymind, 2020-04-20
@Caffeinee

Listen, if I understand you correctly, try this method https://developer.mozilla.org/ru/docs/Web/Events/t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question