-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
81 lines (73 loc) · 2.11 KB
/
popup.html
File metadata and controls
81 lines (73 loc) · 2.11 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Password Generator</title>
<script src="qrcode.js"></script>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<style>
button {
padding: 10px 10px;
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
text-transform: capitalize;
}
.space {
/* border: 5px solid; */
display: block;
margin-left: auto;
margin-right: auto;
width: 30%;
padding: 10px;
text-align: center;
}
.center {
/* border: 5px solid; */
margin: auto;
width: 50%;
padding: 10px;
text-align: center;
width: 400px;
}
.sale-banner {
display: block;
background: linear-gradient(90deg, #ff3c3c, #ff6f00);
color: white;
font-size: 20px;
font-weight: bold;
text-align: center;
padding: 15px 10px;
border-radius: 8px;
margin-bottom: 20px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
text-decoration: none;
animation: pulse 1.5s infinite;
}
.sale-banner:hover {
background: linear-gradient(90deg, #ff6f00, #ff3c3c);
box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.01); }
100% { transform: scale(1); }
}
</style>
</head>
<body>
<a href="laptopDeal.html" class="sale-banner">
🔥 SALE ON LAPTOPS - LIMITED TIME ONLY! 🔥
</a>
<script src="index.js"></script>
<div class="center">
<h1 id="pop" class="center">Generate password</h1>
<button id="myBtn">Click to generate!</button>
<h3 id="outputpass"></h3>
<!-- <div id="copy"></div> -->
<div id="qrcode" class="space"></div>
</div>
</body>
</html>