-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (68 loc) · 1.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>RGB Generator DOM</title>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<!-- Bootstrap CSS v5.0.2 -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
/>
</head>
<body>
<header
style="text-shadow: 3px 0px 9px #fff; letter-spacing: 1px"
class="text-center fw-bold fs-1 mt-5"
>
Random <span class="text-danger">R</span
><span class="text-success">G</span
><span class="text-primary">B</span> Generator
</header>
<main class="mt-5">
<!-- <p style="position: sticky" class="text-success fw-bold fs-5 text-center">
RGB CODE SUCCESSFULLY COPIED ✅
</p> -->
<div class="container">
<div class="input-group input-group-lg">
<input
id="rgb-field"
type="text"
class="form-control"
aria-label="Sizing
example input"
aria-describedby="inputGroup-sizing-lg"
/><button
id="copy-btn"
class="rounded-3 btn btn-warning input-group-text"
id="inputGroup-sizing-lg"
>
Copy
</button>
<button
style="display: none"
id="copy-btn-suc"
class="rounded-3 border-light border-2 btn btn-success input-group-text"
id="inputGroup-sizing-lg"
>
Copied
</button>
</div>
<div class="mt-3 text-center">
<button
id="generate-btn"
class="fw-bold fs-4 btn btn-primary rounded-circle p-5 justify-content-center"
>
Generate
</button>
</div>
</div>
</main>
<!-- JavaScript Added -->
<script src="./rgb.js"></script>
</body>
</html>