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

Knoplabel dat omhoog rolt New

On hover or keyboard focus the label rolls up and a copy slides in from below, as a whole line or staggered per letter. Pure CSS (transform + overflow), works in every browser; with reduced motion only the colour change remains. Use it on the main button of a page, not on every button.

Hele regel
Per letter
Uitgeschakeld

How to use it

  1. Paste the HTML where the buttons should appear.
  2. Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
  3. No JavaScript needed.
<!-- Knoplabel dat omhoog rolt · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="klr">
  <div class="klr__cell">
    <button class="klr__btn klr__btn--a" type="button"><span class="klr__win"><span class="klr__in"><span>Offerte aanvragen</span><span aria-hidden="true">Offerte aanvragen</span></span></span><span class="klr__ico" aria-hidden="true"><svg viewBox="0 0 16 16" width="14" height="14"><path d="M3 8h9M8.5 4.5 12 8l-3.5 3.5" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span></button>
    <span class="klr__cap">Hele regel</span>
  </div>
  <div class="klr__cell">
    <button class="klr__btn klr__btn--b" type="button" aria-label="Bekijk projecten"><span class="klr__win" aria-hidden="true"><span class="klr__c" style="--i:0">B</span><span class="klr__c" style="--i:1">e</span><span class="klr__c" style="--i:2">k</span><span class="klr__c" style="--i:3">i</span><span class="klr__c" style="--i:4">j</span><span class="klr__c" style="--i:5">k</span><span class="klr__c" style="--i:6">&nbsp;</span><span class="klr__c" style="--i:7">p</span><span class="klr__c" style="--i:8">r</span><span class="klr__c" style="--i:9">o</span><span class="klr__c" style="--i:10">j</span><span class="klr__c" style="--i:11">e</span><span class="klr__c" style="--i:12">c</span><span class="klr__c" style="--i:13">t</span><span class="klr__c" style="--i:14">e</span><span class="klr__c" style="--i:15">n</span></span></button>
    <span class="klr__cap">Per letter</span>
  </div>
  <div class="klr__cell">
    <button class="klr__btn klr__btn--a" type="button" disabled><span class="klr__win"><span class="klr__in"><span>Volgeboekt</span><span aria-hidden="true">Volgeboekt</span></span></span></button>
    <span class="klr__cap">Uitgeschakeld</span>
  </div>
</div>
</div>

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 →