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

216
Views
rotar el texto dentro del elemento span

Tengo un plan para hacer una animación simple dentro de la página web para demostrar las rpm del motor. el elemento span se ve así

 <span id="motor" style='font-size:100px;padding: 3%;'>&#8854;</span>

y mi control deslizante de rango para cambiar la velocidad es

 <input type="range" min="0" max="100" value="0" class="slider" id="Range0" step="5" onchange="changeSpeed(this.value);" >

Agrego el botón que establece la nueva velocidad para el motor y su función es

 function changeSpeed(speed){ setInterval( rotate_fan ,speed ); } function rotate_fan(){ var div = document.getElementById('motor'); deg0=deg0+direction0*10; div.style.webkitTransform = 'rotate('+deg0+'deg)'; div.style.mozTransform = 'rotate('+deg0+'deg)'; div.style.msTransform = 'rotate('+deg0+'deg)'; div.style.oTransform = 'rotate('+deg0+'deg)'; div.style.transform = 'rotate('+deg0+'deg)'; }

pero no vi ningún cambio ningún consejo realmente apreciado

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!