-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (45 loc) · 1.86 KB
/
Copy pathindex.html
File metadata and controls
49 lines (45 loc) · 1.86 KB
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
<!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" />
<title>Gradient Picker</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
integrity="sha512-Fo3rlrZj/k7ujTnHg4CGR2D7kSs0v4LLanw2qksYuRlEzO+tcaEPQogQ0KaoGN26/zrn20ImR1DfuLWnOo7aBA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<h1>Welcome to Gradient Generator</h1>
<h2>Please use color boxes to see rgb values</h2>
<form>
<div class="colorSelector">
<input type="color" class="colorPickers" id="color1" value="#F232ba" />
<input type="color" class="colorPickers" id="color2" value="#Fa2232" />
</div>
<div class="typeSelector">
<h3>Gradient type: </h3>
<select id="gradientType">
<option value="1">Horizontal</option>
<option value="2">Vertical</option>
<option value="3">Circle</option>
</select>
</div>
<div class="gradientOptions">
<div class="slider-track"></div>
<input type="range" min="0" max="100" value="0" class="sliders" id="slider-1" oninput="slideOne()">
<input type="range" min="0" max="100" value="100" class="sliders" id="slider-2" oninput="slideTwo()">
</div>
<a href="#" class="btn" id="randomBtn">Random</a>
</form>
<h3 class="guide">Copy the code below to your css file to apply gradient.<br>To copy click over the code!</h3>
<h3 id="message"></h3>
<a class="github" href="https://github.com/muki01" target="_blank">
<i class="fab fa-github"></i>Follow me on Github
</a>
</div>
<script src="main.js"></script>
</body>
</html>