Services
Solutions
Industries
Regions
Book a call 085 369 7668 info@neddev.com

Licht naar donker bij scroll

As the section scrolls through the viewport, the background moves from light to black and the text from black to white; marks the transition to a dark part.

Hoofdstuk 02

's Avonds open,
als jij tijd hebt.

Fysiotherapie Maaszicht · ma t/m do tot 21:00

How to use it

  1. Paste the HTML where the scroll effects should appear.
  2. Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
  3. Add the JavaScript and call init() with the element that contains the HTML.
<!-- Licht naar donker bij scroll · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="ei-cis"><span class="ei-cis__k">Hoofdstuk 02</span><h3 class="ei-cis__h">'s Avonds open,<br>als jij tijd hebt.</h3><p class="ei-cis__p">Fysiotherapie Maaszicht · ma t/m do tot 21:00</p><div class="ei-cis__bar"><i></i></div></div>
</div>

More scroll effects

Seen something you like?

Add it to your selection and send it over. We build your site around it, in your brand.

Get in touch →