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

169
Views
Tengo un control deslizante de lista de palabras en una línea y quiero que cuando pase el cursor sobre la palabra, la animación se detenga temporalmente

Tengo un control deslizante de lista de palabras en una línea y cada cliente puede hacer clic y abrir otra página y quiero que cuando pase el mouse sobre la palabra, la animación se detenga temporalmente, por favor, ¿me ayudan en esto?

el ejemplo

 <ul> <li className="text">Client</li> <li>exemple</li> <li className="text">Client</li> <li>exemple</li> <li className="text">Client</li> <li>exemple</li> </ul> @keyframes slide { 0% {transform: translateX(0%);} 100% {transform: translateX(-180%);} } >div ul{ display: flex; justify-content: space-between; align-items: center; list-style-type: none; white-space: nowrap; transition: all 1s ease; width: 100%; animation: slide 20s linear infinite; }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

simplemente puede pausar la animación al pasar el mouse y hacer clic en cada texto del cliente en una nueva pestaña

 @keyframes slide { 0% {transform: translateX(0%);} 100% {transform: translateX(-180%);} } ul{ display: flex; justify-content: space-between; align-items: center; list-style-type: none; white-space: nowrap; transition: all 1s ease; width: 100%; animation: slide 20s linear infinite; } ul:hover{ -webkit-animation-play-state:paused; -moz-animation-play-state:paused; -o-animation-play-state:paused; animation-play-state:paused; cursor: pointer; }
 <ul> <li><a href="www.google.com" target="_blank" className="text">Client</a></li> <li>exemple</li> <li className="text"><a href="www.google.com" target="_blank">Client</a></li> <li>exemple</li> <li className="text"><a href="www.google.com" target="_blank">Client</a></li> <li>exemple</li> </ul>

about 4 years ago · Juan Pablo Isaza Report
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!