-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
171 lines (168 loc) · 6.4 KB
/
index.html
File metadata and controls
171 lines (168 loc) · 6.4 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A digital-readable code consisting of an array of different color squares, typically used for storing URLs or other info for reading by the camera.">
<meta name="keywords" content="QR code generator, QR code, QR code scanner, QR scanner, scan QR code, free QR code generator, QR code reader, how to scan a QR code, QR code generator free, QR code maker">
<meta name="robots" content="index, follow">
<meta name="language" content="English">
<meta name="revisit-after" content="7 days">
<meta name="author" content="CHANDAN MISHRA">
<!-- Primary Meta Tags -->
<title>Easy QR Code Generator — A Free QR Code, Preview, Edit, Generate</title>
<meta name="title" content="Easy QR Code Generator — A Free QR Code, Preview, Edit, Generate">
<meta name="description" content="A digital-readable code consisting of an array of different color squares, typically used for storing URLs or other info for reading by the camera.1">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://cmmishra9.github.io/qr-code-generator.github.io/">
<meta property="og:title" content="Easy QR Code Generator — A Free QR Code, Preview, Edit, Generate">
<meta property="og:description" content="A Digital-readable code consisting of an array of different color squares, typically used for storing URLs or other info for reading by the camera.">
<meta property="og:image" content="https://cmmishra9.github.io/qr-code-generator.github.io/qrcode_small.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://cmmishra9.github.io/qr-code-generator.github.io/">
<meta property="twitter:title" content="Easy QR Code Generator — A Free QR Code, Preview, Edit, Generate">
<meta property="twitter:description" content="A digital-readable code consisting of an array of different color squares, typically used for storing URLs or other info for reading by the camera.">
<meta property="twitter:image" content="https://cmmishra9.github.io/qr-code-generator.github.io/qrcode_small.png">
<style>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
.container{
width: 400px;
height: 520px;
margin: auto;
margin-top: 60px;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
font-family: 'Montserrat', sans-serif;
}
.header{
background-color: #5059dced;
width: 100%;
}
.header>div>h1{
line-height: 60px;
color: white;
font-size: 35px;
text-align: center;
font-weight: 700;
}
.text-field{
padding: 10px;
font-size: 16px;
outline: none;
border: 1px solid #d8d8d8;
margin: 10px 20px;
width: calc(100% - 60px);
font-family: 'Montserrat', sans-serif;
}
.mode{
margin-left: -16px;
display: inline-block;
}
.mode li{
list-style: none;
display: inline-block;
font-size: 12px;
background-color: #F0F0F1;
padding: 4px;
cursor: pointer;
margin-left: -4px;
transition-duration: .1s;
}
.mode .active{
background-color: #5059dced;
color: white;
line-height: 22px;
border-radius: 4px;
}
.gen{
float: right;
padding: 10px 20px;
background-color: #5059dced;
color: white;
border: 0px;
border-radius: 4px;
font-family: 'Montserrat', sans-serif;
margin-top: 13px;
margin-right: 20px;
cursor: pointer;
}
label{
margin-left: 16px;
font-size: 12px;
user-select: none;
cursor: pointer;
display: inline-block;
}
label span{
position: relative;
top: -2px;
}
.upload{
position: relative;
top: -2px;
font-size: 12px;
color: #3641de;
cursor: pointer;
display: inline-block;
}
.upload:hover{
text-decoration: underline;
}
.file-selector{
display: none;
}
.qr-container{
width: 100%;
height: 280px;
-webkit-box-align: center;
-webkit-box-pack: center;
display: -webkit-box;
}
.download{
font-size: 13px;
margin-left: 20px;
}
.download li{
list-style: none;
display: inline-block;
cursor: pointer;
color: #3641de;
margin-left: 5px;
}
.download li:hover{
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<div><h1>QR Code Generator</h1></div>
</div>
<input type="text" placeholder="Enter link or add some text" class="text-field">
<ul class="mode">
<li>Basic</li>
<li class="active">Medium</li>
<li>Advance</li>
</ul>
<button class="gen">Generate</button>
<br>
<label>
<input type="checkbox" class="checkbox">
<span>Add Logo</span>
</label>
<div class="upload">Custom logo</div>
<input type="file" class="file-selector" accept=".png, .jpg, .jpeg, .svg">
<div class="qr-container">Qr Code</div>
<div class="download">
<span>Download: </span>
<li>PNG</li>
<li>JPG</li>
</div>
</div>
<script src="qr-code-styling.js"></script>
<script src="script.js"></script>
</body>
</html>