Loading effect…
Loading preview…
sliders · html · free
Slides wipe into view with animated clip-path shapes.
npx znverse add clip-path-sliderLoads 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 Slider</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=Inter:wght@300;400;500&display=swap" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}Slides wipe into view with animated clip-path shapes.
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/exo-work.