Home Work
SaaS developmentAI developmentAPI developmentMobile app developmentGoogle Ads managementHeadless ShopifyLaravel developmentNext.js developmentReact developmentTypeScript engineeringUI/UX designSEO & AEOEcommerce development
AI solutionsB2B platformsE-commerceHospitalityLead generationLogisticsEducationProcess automationSaaS platformsStartup MVPReal estateHealthcare
LegalHealthcareReal estateFinanceHospitality
The HagueRotterdamAmsterdamUtrechtEindhovenAlmereBredaArnhemNijmegenTilburgEnschedeGroningenLeidenDelftZoetermeerDen Bosch
Studio
AboutProcessLabBlogContact

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 · NedDev · eigen werk. -->
<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 →