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

154
Views
Animar box-shadow con JQuery

BoxShadow no funciona

$(documento).listo(función () { let r, g, b, rBorder, gBorder, bBorder, top, left;

 setInterval(function () { r = Math.round(Math.random() * 255); g = Math.round(Math.random() * 255); b = Math.round(Math.random() * 255); rBorder = Math.round(Math.random() * 255); gBorder = Math.round(Math.random() * 255); bBorder = Math.round(Math.random() * 255); top = Math.round(Math.random() * window.innerHeight); left = Math.round(Math.random() * window.innerWidth); $('.element') .css({ border: '0px solid #fff', boxShadow: `0px green` }) .animate({ backgroundColor: `rgb(${r}, ${g}, ${b})`, borderWidth: '2px', borderColor: `rgb(${rBorder}, ${gBorder}, ${bBorder})`, boxShadow: `0px 0px 30px 0px rgb(${r}, ${g}, ${b})`, top: top, left: left }, 2000, 'linear'); });

});

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!