Lichtstraal langs de rand
Button with an orange streak of light that slowly circles its edge; on hover or focus the streak brightens. Pulls the eye to the one action that matters, such as booking an intro call. Pure CSS with a registered angle variable; with reduced motion the streak stands still.
How to use it
- Paste the HTML where the buttons should appear.
- Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
- No JavaScript needed.
<!-- Lichtstraal langs de rand · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="bbm">
<button class="bbm__btn" type="button"><span class="bbm__t">Plan een kennismaking</span><span class="bbm__s">Reactie binnen één werkdag</span></button>
</div>
</div>/* Lichtstraal langs de rand · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie */
@property --bbm-a{syntax:'<angle>';inherits:false;initial-value:0deg}
.bbm{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#0a0a0a;font-family:'Switzer',system-ui,sans-serif}
.bbm__btn{position:relative;display:flex;flex-direction:column;gap:5px;padding:18px 28px 17px;border:0;border-radius:4px;background:#151515;color:#fff;font:inherit;text-align:left;cursor:pointer;transition:background .25s}
.bbm__btn::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.5px;pointer-events:none;
background:conic-gradient(from var(--bbm-a),transparent 0deg 250deg,rgba(245,72,15,.25) 300deg,#F5480F 345deg,#ffc9b3 356deg,transparent 360deg),linear-gradient(#2b2b2b,#2b2b2b);
-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
animation:bbm-rond 3.6s linear infinite;opacity:.85;transition:opacity .25s}
.bbm__btn:hover,.bbm__btn:focus-visible{background:#1c1c1c}
.bbm__btn:hover::before,.bbm__btn:focus-visible::before{opacity:1;padding:2px}
.bbm__btn:focus-visible{outline:2px solid #fff;outline-offset:4px}
.bbm__t{font-size:16px;font-weight:600;letter-spacing:-.01em}
.bbm__s{font-size:13px;color:#a8a8a8}
@keyframes bbm-rond{to{--bbm-a:360deg}}
@media (prefers-reduced-motion:reduce){.bbm__btn::before{animation:none;--bbm-a:200deg}}
More buttons
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 →