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

137
Vistas
How to wrap this slideshow to the first image?

Does anyone know of a way to wrap the images in this slideshow to the beginning, so that the blue square comes immediately after the black square?

https://jsfiddle.net/pgLf2z8u/1/

Right now, the best I know how to do is:

img {
  height: 80vh;
}

#carousel {
  white-space: nowrap;
  overflow-x: hidden;
}

#carousel > img {
  animation-name: slide;
  animation-timing-function: linear;
  animation-delay: infinite;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}

@keyframes slide{
  to{
    transform: translateX(-900px);
  }
}

I've seen suggestions about duplicating the first few images and timing/setting delays so that it seems seamless. Any advice on how to accomplish this with css, javascript, react, or jquery is welcome (or by any other means)!

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