-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
77 lines (71 loc) · 1.8 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Scoped CSS Variables and JS</title>
<link href="src/styles.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" href="../common.css" type="text/css" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="../assets/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="../assets/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="../assets/favicon-16x16.png"
/>
</head>
<body>
<a href="https://javascript30.ayushgupta.tech" target="_blank">
<div class="project-tag" style="background-color: white">
<div class="tag-num">#3</div>
<div class="tag-text">of JavaScript30</div>
</div>
</a>
<h2>Update CSS Variables with <span class="hl">JS</span></h2>
<div class="controls">
<label for="spacing">Spacing:</label>
<input
id="spacing"
type="range"
name="spacing"
min="10"
max="200"
value="10"
data-sizing="px"
/>
<label for="blur">Blur:</label>
<input
id="blur"
type="range"
name="blur"
min="0"
max="25"
value="10"
data-sizing="px"
/>
<label for="base">Base Color</label>
<input id="base" type="color" name="base" value="#ffc600" />
<label for="border-radius">Border Radius:</label>
<input
id="border-radius"
type="range"
name="border-radius"
min="0"
max="50"
value="10"
data-sizing="px"
/>
</div>
<img src="https://source.unsplash.com/featured/?dog" />
<script src="src/index.js"></script>
</body>
</html>