-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (40 loc) · 1.97 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Geometric Paint Worklet</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=Readex+Pro:wght@200;400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles/geometric-paint-worklet.css" type="text/css">
<script src="dist/geometric-paint-worklet.js" defer></script>
</head>
<body>
<main>
<section class="section section--intro">
<div class="section__content">
<h1 class="section__title">Geometric Paint Worklet</h1>
<p class="section__text">A customizable CSS Paint Worklet that renders geometric shapes to the background of any element.</p>
<div class="section__ctas">
<a href="https://github.com/boguz/geometric-paint-worklet" class="section__cta" target="_blank">View on Github</a>
<a href="https://www.npmjs.com/package/geometric-paint-worklet" class="section__cta" target="_blank">View on NPM</a>
</div>
</div>
<a class="section__link" href="#sectionExamples">Examples</a>
</section>
<section id="sectionExamples" class="section section--examples">
<div class="section__example section__example--one"></div>
<div class="section__example section__example--two"></div>
<div class="section__example section__example--three"></div>
<div class="section__example section__example--four"></div>
</section>
<script>
CSS.paintWorklet.addModule('dist/geometric-paint-worklet.js');
</script>
</main>
<a href="https://github.com/boguz/geometric-paint-worklet" class="github-link"></a>
</body>
</html>