-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (38 loc) · 1.35 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
<!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 href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet"/>
<link rel="stylesheet" href="index.css">
<title>Document</title>
</head>
<body>
<div class="container">
<h1 class="title">Color Lighten/Darken</h1>
<label for="hex">Color (Hex)</label>
<input type="text" name="hex" id="hexInput" placeholder="#00000" value="#c6d5ac">
<!-- div with a class of toggle -->
<!-- two peices of text -- lighten/darken -->
<!-- div with id toggleButton and
inside will have a div for circle button
with id inner-circle-->
<div class="toggle">
<p id= "lightenText" class="toggle-text">Lighten</p>
<div id="toggleBtn" class="toggle-btn">
<div class="inner-circle"></div>
</div>
<p id= "darkenText" class="toggle-text unselected">Darken</p>
</div>
<label for="slider" id="sliderText">0%</label>
<input type="range" min="0" max="100" value="0"
class="slider" id="slider" name="slider">
<p>Input Color</p>
<div id="inputColor" class="box"></div>
<p id="alteredColorText">Alter Color</p>
<div id="alteredColor" class="box"></div>
</div>
<script src="index.js"></script>
</body>
</html>