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

190
Views
La transición no funciona correctamente en Safari

Así que hice un cursor personalizado para mi próximo sitio web. En Chrome funciona como debería pero en Safari va lento...

He intentado varias cosas, como usar las cosas del webkit, pero todavía no funciona.

aquí está el Codepen

html

 <div class="cursor"></div>

CSS

 body{ background: #fff; width: 100%; height: 100vh; } .cursor{ position: fixed; left: 0px; top: 0; width: 25px; height: 25px; transition-duration:0.3s; -webkit-transition-duration:0.3s; -ms-transition-duration:0.3s; -moz-transition-duration:0.3s; transition-timing-function: cubic-bezier(.33,.81,.66,.95); -webkit-transition-timing-function: cubic-bezier(.33,.81,.66,.95); -moz-transition-timing-function: cubic-bezier(.33,.81,.66,.95); background-color: #fff; mix-blend-mode: difference; border-radius: 50%; pointer-events: none; }

js

 let cursor = document.querySelector('.cursor'); document.addEventListener('mousemove', moveCursor); function moveCursor(e) { let x = e.clientX; let y = e.clientY; cursor.style.transform = `translate(calc(${x}px - 50%), calc(${y}px - 50%))` }
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!