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

115
Views
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 answers
Answer question

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 Report

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 Report
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!