-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (52 loc) · 1.83 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
<!DOCTYPE html>
<html lang="pt-br">
<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">
<title>Box Shadow Generator</title>
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<div class="container">
<div class="result">
<div id="element"></div>
</div>
<div class="sliders">
<div class="slider-wrapper">
<label for="h-shadow">Horizontal Shadow:</label>
<input type="range" id="h-shadow" max="100" min="-100" value="0">
</div>
<div class="slider-wrapper">
<label for="v-shadow">Vertical Shadow:</label>
<input type="range" id="v-shadow" max="100" min="-100" value="0">
</div>
<div class="slider-wrapper">
<label for="blur-radius">Blur Radius:</label>
<input type="range" id="blur-radius" max="100" min="0" value="0">
</div>
<div class="slider-wrapper">
<label for="spread-radius">Spread Radius:</label>
<input type="range" id="spread-radius" max="50" min="-50" value="0">
</div>
<div class="slider-wrapper">
<label for="shadow-color">Shadow Color:</label>
<input type="color" id="shadow-color">
</div>
<div class="slider-wrapper">
<label for="shadow-color-opacity">Shadow Color Opacity:</label>
<input type="range" id="shadow-color-opacity" max="1" min="0" step="0.1" value="1">
</div>
<div class="input-wrapper">
<label for="shadow-inset">Inset Shadow</label>
<input type="checkbox" id="shadow-inset">
</div>
</div>
<div class="code-wrapper">
<textarea id="code" rows="2"></textarea>
<button onclick="copyCode()">Copy</button>
</div>
</div>
<script src="./js/script.js"></script>
</body>
</html>