-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
37 lines (34 loc) · 1.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Houdini samples: Circles with properties</title>
<link rel="stylesheet" href="/experiments/css/index.css" />
<link rel="stylesheet" href="/experiments/paint/circles-props/styles.css" />
</head>
<body>
<header>
<a href="/" title="Back to the index" class="Back"> < Back</a>
</header>
<h1>Circles with properties</h1>
<div class="wrapper"></div>
<pre class="Code" data-code=".css">
--circles-count: 5;
--circles-opacity: 0.6;
--circles-strokeWeight: 2;
--circles-fill: 1;
background: paint(circles);</pre
>
<script>
(async function () {
if (CSS["paintWorklet"] === undefined)
await import("https://unpkg.com/css-paint-polyfill");
CSS.paintWorklet.addModule(
"/experiments/paint/circles-props/worklet.js"
);
})();
</script>
</body>
</html>