forked from roytanck/wallpaper-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (39 loc) · 801 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>4K Desktop wallpaper generator</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
<style>
:root {
font-size: 16px;
}
body {
padding: 0;
margin: 0;
background-color: #333;
color: #ccc;
font-family: sans-serif;
}
#container {
margin: 0;
padding: 2rem;
}
canvas {
max-width: 100%;
height: auto !important;
}
p {
font-size: 0.75rem;
}
</style>
<script src="wallpaper.js"></script>
</head>
<body>
<div id="container">
<canvas width="3840" height="2160"></canvas>
<p>Right-click the image to save as a PNG image.</p>
</div>
</body>
</html>