Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

143
Views
how to trigger an animation more than once on js function
events.forEach(e => {
  d_o.addEventListener(e, (ev) => {
    discord_underlay.classList.remove("animation");
    discord_underlay.style.animation = "discord-hover 1s";
  }, false);
});
//leave d_o
events_.forEach(e => {
  d_o.addEventListener(e, (ev) => {
    discord_underlay.style.width = "55px";
    discord_underlay.style.transform = "translate(-345px, 3px)";
  }, false);
});

via animation down below

@keyframes discord-hover {
 0% {width:55px; transform;translate(-345px, 3px);}
 100% { width:300px; transform:translate(-100px, 3px);}
}

How do make it so that the animation is accessable more than once not only the first time I hover over it?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!