-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (41 loc) · 1.84 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA=="
crossorigin="anonymous" />
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<title>Gradient Color Generator using JavaScript || @ahkamboh || github</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" href="assets/ahkamboh-icon.png">
</head>
<body>
<!-- Further Code here -->
<div class="container ">
<h3 style="text-align: center; color: #ffffff;">Gradient Generator</h3>
<div id="gradient-box" data-aos="flip-down"></div>
<div class="container-inside" data-aos="zoom-in">
<div class="color">
<input type="color" name="color1" id="color1" value="#00afff">
<input type="color" name="color2" id="color2" value="#0031ff">
</div>
<div class="copycode">
<pre>Css</pre>
<input type="text" id="color-code"
value="radial-gradient( circle, rgb(37, 9, 121) 10%, rgb(0, 255, 252)110%)" readonly />
<button onclick="myFunction()" id="copyBtn"><i class="fas fa-copy"></i></button>
</div>
</div>
<div class="gif"><img src="assets/ahkamboh.png" height="100"></div>
</div>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
AOS.init();
</script>
<script src="script.js" async></script>
</body>
</html>