-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
117 lines (101 loc) · 4.59 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
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
107
108
109
110
111
112
113
114
115
116
117
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Box-Shadow Generator</title>
<link rel="icon" href="./images/logo.png">
<link href='https://unpkg.com/boxicons@2.0.9/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<header class="header">
<div class="header__container container">
<h3 class="header__title">Box Shadow Generator</h3>
<nav class="header__navbar">
<a href="https://github.com/salymbaeva17" class="header__btn">
<i class='bx bxl-github bx-md bx-burst-hover header__btn--color'></i>
</a>
</nav>
</div>
</header>
<main>
<section class="generate">
<div class="generate__container container">
<div class="row generate__row">
<div class="generate__left-side col-4">
<h1 class="generate__title">Set your generator shadows:</h1>
<p class="generate__settings-title">Elements Border Radius
<span class=" input__value r1-value"></span>
</p>
<div class="input__box">
<input type="range" id="r1" value="0" max="50">
<label for="r1"></label>
</div>
<p class="generate__settings-title">Offset X
<span class=" input__value h-length"></span>
</p>
<div class="input__box">
<input type="range" id="offsetX" min="-50" max="50" value="0">
<label for="offsetX"></label>
</div>
<p class="generate__settings-title">Offset Y
<span class="input__value v-length"></span>
</p>
<div class="input__box">
<input type="range" id="offsetY" min="-50" max="50" value="0">
<label for="offsetY"></label>
</div>
<p class="generate__settings-title">Blur Radius
<span class="input__value blur-radius"></span>
</p>
<div class="input__box">
<input type="range" id="blur" max="50" value="0">
<label for="blur"></label>
</div>
<p class="generate__settings-title">Spread Radius
<span class="input__value spread-radius"></span>
</p>
<div class="input__box">
<input type="range" id="spread" min="-50" max="50" value="0">
<label for="spread"></label>
</div>
<div class="input__box">
<label for="color">Shadow Color</label>
<input type="color" id="color" value="#b2ccfd">
</div>
<div class="input__box">
<label for="bg-color">Elements Color</label>
<input type="color" id="bg-color" value="#409671">
</div>
<div class="generate__inset-shadow">
<label for="inset" class="label-container">Inset
<input type="radio" id="inset" name="radio" checked>
<span class="checkmark"></span>
</label>
<label for="outset" class="label-container">Outset
<input type="radio" id="outset" name="radio">
<span class="checkmark"></span>
</label>
</div>
</div>
<div class="generate__right-side col-8">
<div class="generate__result">
<div class="generate__parent-box">
<div class="generate__box"></div>
</div>
<div class="generate__result-box">
<span class="generate__shadow-result"></span>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<script src="https://unpkg.com/boxicons@2.0.9/dist/boxicons.js"></script>
<script src="./script.js"></script>
</body>
</html>