-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.html
47 lines (47 loc) · 1.04 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
<!DOCTYPE html>
<html>
<head>
<title>Gradient Background</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="icon" type="image/png" href="favicon.png" />
</head>
<body id="gradient">
<h1>Background Gradient Generator</h1>
<hr id="line" />
<br />
<div>
<input
class="color color1"
type="color"
name="color1"
value="#1488CC"
/>
<input
class="color color2"
type="color"
name="color2"
value="#2B32B2"
/>
</div>
<div>
<button class="generate-btn">Generate Random Gradient</button>
</div>
<h2 class="heading">Current CSS Background</h2>
<div id="gradient-box">
<h3 id="gradient-value"></h3>
<input
id="copy"
type="image"
src="copyIcon.svg"
onclick="copyToClipboard()"
/>
</div>
<section class="notification" id="notification">
<i>🙌</i>
<span class="notification-content" id="notification-content">
Gradient Copied Successfully!
</span>
</section>
<script type="text/javascript" src="script.js"></script>
</body>
</html>