This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (55 loc) · 2.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Title -->
<title>Shadow Generator</title>
<!-- External CSS Linking -->
<link rel="stylesheet" href="index.css">
<!-- Favicon Icon -->
<link rel="shortcut icon" href="logo.png" type="image/x-icon">
<!-- Open Graph Meta Tags for Social Media Preview -->
<meta property="og:title" content="Shadow Generator">
<meta property="og:description" content="An interactive web tool to create and customize CSS box shadows in real-time.">
<meta property="og:image" content="https://abhinavkumar2369.github.io/Shadow-Generator/logo.png">
<meta property="og:url" content="https://abhinavkumar2369.github.io/Shadow-Generator/">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Shadow Generator">
</head>
<body>
<div class="container">
<div class="preview">
<div class="box" id="box"></div>
</div>
<div class="controls">
<div class="control-group">
<label>Horizontal Offset</label>
<input type="range" id="horizontal" min="-50" max="50" value="0">
</div>
<div class="control-group">
<label>Vertical Offset</label>
<input type="range" id="vertical" min="-50" max="50" value="0">
</div>
<div class="control-group">
<label>Blur Radius</label>
<input type="range" id="blur" min="0" max="50" value="10">
</div>
<div class="control-group">
<label>Spread Radius</label>
<input type="range" id="spread" min="-25" max="25" value="0">
</div>
<div class="control-group">
<label>Shadow Color</label>
<input type="color" id="color" value="#000000">
</div>
<div class="control-group">
<label>Opacity</label>
<input type="range" id="opacity" min="0" max="100" value="20">
</div>
</div>
<div class="code-output" id="code-output"></div>
</div>
<script src="index.js"></script>
</body>
</html>