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

116
Visualizações
Name of this technique or plugin name

Stumbled upon this example on the web

https://redq.io/react-next-landing

So how is this effect called that the main slider seems to be unmovable and the rest of the body covers it while scrolling?

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

It's called sticky
Achieved using CSS position: sticky; and top: /*i.e:*/ 0px; you can find more info here:
https://developer.mozilla.org/en-US/docs/Web/CSS/position

If the element was just to move at a different pace (slower then the rest of the document scroll) than it would be called: parallax.

Sticky slideshow example:

/* Quick Reset */ * {margin:0; box-sizing: border-box;}

header,
main,
footer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

header {min-height: 100vh; background: gold; position: sticky; top: 0; }
main   {min-height: 100vh; background: white;}
footer {min-height: 50vh;  background: grey;}
<header><h1>ABOVE THE FOLD SLIDESHOW</h1></header>
<main><div>MAIN CONTENT</div></main>
<footer><div>Footer links etc</div></footer>

about 4 years ago · Juan Pablo Isaza Relatório

0

It's actually position: fixed. Fixed removes the element from the normal document flow which sticky does not. For this to proberly work the scrolling part has to be "above" the top part. Which is done with z-index: int as you can see in the following screenshot:

z-index example

You can read more about in the link shared by Roko.

about 4 years ago · Juan Pablo Isaza Relatório
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