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

Apparaat-mockups (CSS) New

One CSS frame that switches between phone, browser window and laptop, holding your own screenshot (here a rebuilt bakery site that reflows per device via container queries). Hover or focus on the screen scrolls the page slowly. Uses container units (cqw/cqh) with fixed px fallback; on touch and with reduced motion you scroll yourself. In production swap .dvm__page for a tall img.

How to use it

  1. Paste the HTML where the components 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.
<!-- Apparaat-mockups (CSS) · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="dvm"><div class="dvm__hd"><div class="dvm__sw" role="group" aria-label="Apparaat"><button type="button" class="dvm__b" aria-pressed="false" data-d="phone">Telefoon</button><button type="button" class="dvm__b" aria-pressed="true" data-d="browser">Browser</button><button type="button" class="dvm__b" aria-pressed="false" data-d="laptop">Laptop</button></div><span class="dvm__hint">hover of focus op het scherm</span></div>
<div class="dvm__view"><div class="dvm__dev" data-d="browser"><div class="dvm__bar" aria-hidden="true"><i></i><i></i><i></i><span>bakkerijvanloon.nl</span></div><a class="dvm__screen" href="#" aria-label="Demo-schermafbeelding van bakkerijvanloon.nl, scrolt bij focus"><div class="dvm__page" aria-hidden="true">
<div class="dvm__nav"><b>Van Loon</b><span><i></i><i></i><i></i></span></div>
<div class="dvm__hero"><p>Vers brood uit Deventer, sinds 1962</p><span>Bestel voor morgen</span></div>
<div class="dvm__grid"><div class="dvm__pr"><i></i><b>Desembrood</b><em>€ 4,25</em></div><div class="dvm__pr"><i></i><b>Deventer koek</b><em>€ 5,95</em></div><div class="dvm__pr"><i></i><b>Krentenbol</b><em>€ 0,85</em></div><div class="dvm__pr"><i></i><b>Spelt volkoren</b><em>€ 4,10</em></div><div class="dvm__pr"><i></i><b>Appeltaart</b><em>€ 17,50</em></div><div class="dvm__pr"><i></i><b>Roggebrood</b><em>€ 3,60</em></div></div>
<div class="dvm__band"><b>Ophalen of bezorgen</b><p>Elke ochtend vanaf 7.00 uur in de Brink 14, of bezorgd binnen Deventer.</p></div>
<div class="dvm__grid"><div class="dvm__pr"><i></i><b>Taarten</b><em>op bestelling</em></div><div class="dvm__pr"><i></i><b>Lunch</b><em>vanaf 11.00</em></div><div class="dvm__pr"><i></i><b>Catering</b><em>vanaf 20 p.</em></div></div>
<div class="dvm__foot"><b>Bakkerij Van Loon</b><span>Brink 14 · 7411 BS Deventer · KvK 08123456</span></div></div></a><div class="dvm__base" aria-hidden="true"></div></div></div></div>
</div>

More components

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 →