Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

139
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda