-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (76 loc) · 2.17 KB
/
index.html
File metadata and controls
76 lines (76 loc) · 2.17 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>box shadow interactive learning</title>
</head>
<body>
<header>
<h1>Understand box-shadow proprety values</h1>
<p>
{ box-shadow:
<span>
h-offset v-offset blur spread color
<span id="green">inset</span></span
>}
</p>
<p>
inset is optional. Changes the shadow from an outer shadow (outset) to
an inner shadow
</p>
</header>
<main>
<section>
<div id="example"></div>
<form class="container">
<label for="h-offset">h-offset</label>
<input
name="h-offset"
type="number"
data-name="hOffset"
data-value="0"
value="0"
/>
<label for="v-offset">v-offset</label>
<input
name="v-offset"
type="number"
data-name="vOffset"
data-value="0"
value="0"
/>
<label for="blur">blur</label>
<input
name="blur"
type="number"
data-name="blur"
data-value="0"
value="0"
/>
<label for="spread">spread</label>
<input
name="spread"
type="number"
value="0"
data-name="spread"
data-value="0"
/>
<label for="color">color</label>
<input data-name="color" data-value="#ffcc66" value="#ffcc66" />
<input type="button" value="none" />
<input type="button" value=" add inset" id="inset" />
<input type="button" value=" remove inset" id="uninset" />
</form>
</section>
</main>
<footer>
<small>
<p>Copyright © June 2022 <a href="https://twitter.com/Nada__Ta" target="_blank" rel="noopener noreferrer">Nada__Ta</a>. All rights reserved</p>
</small>
</footer>
<script src="app.js"></script>
</body>
</html>