-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboxShadow.html
106 lines (96 loc) · 3.85 KB
/
boxShadow.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!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">
<meta name="description"
content="CSS Generator - Box Shadow">
<link rel="apple-touch-icon" sizes="180x180" href="./styles/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./styles/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./styles/favicon/favicon-16x16.png">
<link rel="manifest" href="./styles/favicon/site.webmanifest">
<title>CSS Generator | Box Shadow</title>
<link rel="stylesheet" href="./styles/style.css">
<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=Roboto:wght@100;300;400;700&display=swap" rel="stylesheet">
</head>
<body>
<header>
<div id="siteName">
<a href="/">
<h1>CSS Generator</h1>
</a>
</div>
<nav>
<ul id="listHeader">
<li class="navItem">
<a href="./textGradient.html">
<h2>Text Gradient</h2>
</a>
</li>
<li class="navItem">
<a href="./boxShadow.html">
<h2> Box shadow</h2>
</a>
</li>
<li class="navItem">
<a href="./borders.html">
<h2>Border Radius</h2>
</a>
</li>
<li class="navItem">
<a href="./background.html">
<h2>Background</h2>
</a>
</li>
<li class="navItem">
<a href="./transform.html">
<h2>Transform</h2>
</a>
</li>
</ul>
</nav>
<button id="nav-hamburger">
<img style="width: 30px; height: 30px;" src="./styles/hamburgerBarIcon.png" alt="buttonMenuMobile">
</button>
</header>
<div class="codeCopied"> <small>Copied!!!</small> </div>
<section class="boxShadow-generator">
<div class="content">
<div id="block-boxShadow">
<h3>Box preview</h3>
</div>
<div class="out">
-webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 1);
box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 1);
</div>
<button class="copy">Copy</button>
</div>
<div class="controlPanel">
<span class="box-control">
<label for="h-shadow">Horizontal</label>
<input type="range" value="10" min="-200" max="200" id="h-shadow">
</span>
<span class="box-control">
<label for="v-shadow">Vertical</label>
<input type="range" value="10" min="-200" max="200" id="v-shadow">
</span>
<span class="box-control">
<label for="b-radius">Blur Radius</label>
<input type="range" value="5px" min="0" max="400" id="b-radius">
</span>
<span class="box-control">
<label for="s-radius">Spread Radius</label>
<input type="range" value="0" min="-200" max="200" id="s-radius">
</span>
<span class="box-control">
<label for="sh-color">Shadow Color</label>
<input type="color" id="sh-color" value="rgba(0,0,0, 1)">
</span>
</div>
</section>
<script defer src="./js/boxShadow.js"></script>
<script defer src="./js/btnNavbar.js"></script>
</body>