Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

58
Vistas
I stuck a circle to my cursor and when I move it fast it seems like the circle cuts off

I was wondering how I could fix this? Whenever I move my mouse quick or just move it overall it seems like the circle cuts in half, I want it to be a full circle when moving fast.

$(document).ready(
  () => {
    var mouseX = 0;
    var mouseY = 0;
    var xp = 0;
    var yp = 0;
    $(document).on("mousemove", function(event) {
      $("#cursor").css("left", event.pageX - 25);
      $("#cursor").css("top", event.pageY - 25);
      $("#cursor").css("display", "block");
      //console.log("worked");
    });
  });
* {
  margin: 0;
}

#cursor {
  height: 50px;
  width: 50px;
  background-color: lightsalmon;
  border-radius: 50%;
  position: absolute;
  display: none;
  transition-duration: 0s;
  transition-timing-function: ease-out;
}
<script src="https://code.jquery.com/jquery-3.5.0.js"></script>
<div id="cursor"></div>

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda