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

Route tekent zich op de kaart New

A delivery route draws itself on a stylised map as you scroll through the stops; each stop lights up when the line reaches it and the active stop in the list is highlighted. SVG with stroke-dashoffset tied to a CSS scroll-timeline and view() (Chrome, Edge, Safari 26), no map API. Without support or with reduced motion the full route is shown. For a delivery area, service area or a "quote to completion" route.

  1. 07.30Kwekerij NaaldwijkLaden: 140 bossen
  2. 08.10HonselersdijkBloemist Vreeken
  3. 08.45MonsterHotel Strand 21
  4. 09.20's-GravenzandeUitvaartcentrum
  5. 10.05Hoek van HollandTerminal, laatste stop

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. No JavaScript needed.
<!-- Route tekent zich op de kaart · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="rtk" tabindex="0" role="region" aria-label="Bezorgroute, scrollbaar">
  <div class="rtk__map" aria-hidden="true"><svg viewBox="0 0 200 200">
    <path class="rtk__sea" d="M0 0h70C52 60 40 120 6 200H0z"/>
    <path class="rtk__coast" d="M70 0C52 60 40 120 6 200"/>
    <g class="rtk__fields"><path d="M90 20h40v30H90zM140 30h40v40h-40zM110 140h50v40h-50zM160 100h30v35h-30zM80 160h25v30H80z"/></g>
    <path class="rtk__road" d="M128 128 L150 112 L170 84 L140 64 L96 44 L84 70 L62 104 L50 140 L30 172"/>
    <path class="rtk__route" pathLength="1" d="M128 128 L150 112 L170 84 L140 64 L96 44 L84 70 L62 104 L50 140 L30 172"/>
    <g class="rtk__stop rtk__s0"><circle cx="128" cy="128" r="6"/><text x="138" y="140">Naaldwijk</text></g>
    <g class="rtk__stop rtk__s1"><circle cx="170" cy="84" r="5"/><text x="128" y="98">Honselersdijk</text></g>
    <g class="rtk__stop rtk__s2"><circle cx="96" cy="44" r="5"/><text x="102" y="36">Monster</text></g>
    <g class="rtk__stop rtk__s3"><circle cx="62" cy="104" r="5"/><text x="72" y="108">'s-Gravenzande</text></g>
    <g class="rtk__stop rtk__s4"><circle cx="30" cy="172" r="6"/><text x="40" y="180">Hoek van Holland</text></g>
  </svg></div>
  <ol class="rtk__list">
    <li><span>07.30</span><b>Kwekerij Naaldwijk</b>Laden: 140 bossen</li>
    <li><span>08.10</span><b>Honselersdijk</b>Bloemist Vreeken</li>
    <li><span>08.45</span><b>Monster</b>Hotel Strand 21</li>
    <li><span>09.20</span><b>'s-Gravenzande</b>Uitvaartcentrum</li>
    <li><span>10.05</span><b>Hoek van Holland</b>Terminal, laatste stop</li>
  </ol>
</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 →