CTA-band met nieuwsbrief en beeld
A closing band with two photos in a small grid, one main action and a newsletter field with inline validation. For the end of a homepage.
Elke vrijdag wat er bloeit
Kwekerij Bloei in Aalsmeer zet zaterdag de kas open voor particulieren, van 9:00 tot 16:00. Op vrijdag mailen we wat er die week klaarstaat.
Route naar de kwekerijHow to use it
- Paste the HTML where the page sections should appear.
- Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
- Add the JavaScript and call init() with the element that contains the HTML.
<!-- CTA-band met nieuwsbrief en beeld · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="ctn">
<div class="ctn__in">
<div class="ctn__beeld">
<img class="ctn__a" src="https://neddev.com/lab-media/cta-newsletter-band-1.webp" alt="Kas vol roze bloeiende hortensia's" width="900" height="600" loading="lazy">
<img class="ctn__b" src="https://neddev.com/lab-media/cta-newsletter-band-2.webp" alt="Handen verpotten een plantje op de oppotbank" width="900" height="600" loading="lazy">
</div>
<div class="ctn__txt">
<h2 class="ctn__h">Elke vrijdag wat er bloeit</h2>
<p class="ctn__p">Kwekerij Bloei in Aalsmeer zet zaterdag de kas open voor particulieren, van 9:00 tot 16:00. Op vrijdag mailen we wat er die week klaarstaat.</p>
<a href="#" class="ctn__btn">Route naar de kwekerij</a>
<form class="ctn__form" novalidate>
<label class="ctn__label" for="ctn-mail">Je e-mailadres voor de vrijdagmail</label>
<div class="ctn__veld">
<input class="ctn__input" id="ctn-mail" type="email" placeholder="naam@voorbeeld.nl" autocomplete="email" required>
<button class="ctn__sub" type="submit">Aanmelden</button>
</div>
<span class="ctn__msg" role="status" aria-live="polite"></span>
</form>
</div>
</div>
</div>
</div>/* CTA-band met nieuwsbrief en beeld · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie */
/* fonts (Fontshare): boska@700 + synonym@400 */
.ctn{--bg:#1F5134;--opp:#275E3E;--tekst:#F3F7F0;--gedempt:#C9DACD;--lijn:#3A6A4E;--accent:#F5B6D0;--op-accent:#000;background:var(--bg);color:var(--tekst);font-family:'Synonym',sans-serif;font-size:16px;box-sizing:border-box}
.ctn__in{max-width:1660px;margin:0 auto;padding:64px clamp(20px,5vw,80px);display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center;box-sizing:border-box}
.ctn__beeld{display:grid;grid-template-columns:1.6fr 1fr;gap:12px;align-items:end}
.ctn__beeld img{display:block;width:100%;height:auto;object-fit:cover;border-radius:4px}
.ctn__a{aspect-ratio:4/5}
.ctn__b{aspect-ratio:1/1}
.ctn__h{font-family:'Boska',serif;font-weight:700;font-size:48px;line-height:1;margin:0 0 20px}
.ctn__p{font-size:16px;line-height:1.6;color:var(--gedempt);margin:0 0 28px;max-width:42ch}
.ctn__btn{display:inline-block;font-size:16px;background:var(--accent);color:var(--op-accent);padding:15px 24px;border-radius:4px;text-decoration:none;transition:background-color .18s ease}
.ctn__btn:hover{background:var(--tekst)}
.ctn__form{margin-top:40px;padding-top:28px;border-top:1px solid var(--lijn);max-width:460px}
.ctn__label{display:block;font-size:14px;color:var(--gedempt);margin-bottom:10px}
.ctn__veld{display:flex;gap:8px}
.ctn__input{flex:1;min-width:0;font:inherit;font-size:16px;padding:13px 14px;border-radius:4px;border:1px solid var(--lijn);background:var(--opp);color:var(--tekst)}
.ctn__input::placeholder{color:var(--gedempt);opacity:.8}
.ctn__input:focus{outline:2px solid var(--accent);outline-offset:1px}
.ctn__sub{font:inherit;font-size:16px;background:var(--tekst);color:var(--bg);border:0;padding:0 20px;border-radius:4px;cursor:pointer;transition:background-color .18s ease}
.ctn__sub:hover{background:var(--accent)}
.ctn__msg{display:block;font-size:14px;margin-top:10px;min-height:20px}
.ctn__msg.ok{color:var(--tekst)}.ctn__msg.err{color:var(--accent)}
@media(max-width:860px){.ctn__in{grid-template-columns:1fr;gap:32px;padding:48px 20px}.ctn__h{font-size:28px}}
@media(max-width:480px){.ctn__veld{flex-direction:column}.ctn__sub{padding:13px}}// CTA-band met nieuwsbrief en beeld · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie
// root = het element waarin de HTML staat
function init(root){
root=root.querySelector('.ctn')||root;
var form=root.querySelector('.ctn__form'),input=root.querySelector('.ctn__input'),msg=root.querySelector('.ctn__msg');
form.addEventListener('submit',function(e){e.preventDefault();var v=input.value.trim();var ok=/^[^@\s]+@[^@\s]+\.[^@\s]+$/.test(v);msg.className='ctn__msg '+(ok?'ok':'err');msg.textContent=ok?'Dank je, vrijdag krijg je de eerste mail.':'Dit lijkt geen geldig e-mailadres.';if(ok){input.value='';}});
}
init(document.querySelector('.jouw-container'));
More page sections
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 →