Loading effect…
Loading preview…
scroll · html · free
Full-screen sections uncover each other through clip-path masks as you scroll.
npx znverse add clip-scrollLoads lenis, gsap from a CDN.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Clip Path Scroll Reveal</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Cormorant+Unicase:wght@300;400;500;600;700&family=Outfit:wght@200;300;400&family=DM+Mono:wght@300&display=swap"
rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {Full-screen sections uncover each other through clip-path masks as you scroll.
Copy the files in src/ into a static page. Everything runs in the browser with no build step.
Originally published at https://github.com/Hank-D-Tank/clip-scroll.