-
Notifications
You must be signed in to change notification settings - Fork 0
/
wallpaper.html
52 lines (52 loc) · 2.06 KB
/
wallpaper.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script defer src = "wallpaper.js"> </script>
<title>H Wallpaper Generator</title>
<script async src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script defer src = "nav.js"> </script>
<link rel="stylesheet" href="/reset.css">
<link rel="stylesheet" href="/index.css">
<link rel="stylesheet" href = "/navspecial.css">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:regular,bold&subset=Latin">
<link rel="icon" href="/favicon.ico">
</head>
<body>
<header id = "header">
</header>
<main>
<div class = "boxinner">
<h1>H Wallpaper Generator</h1>
<div class = cellrow>
<div class = cellcol>
<div class = cellrow>
Length:
<input type = "number" min="1" value = "50" id = "x">
px
</div>
<div class = cellrow>
Height:
<input type = "number" min="1" value = "50" id = "y">
px
</div>
</div>
<div id="buttons">
<button id="convert">Generate</button>
</div>
</div>
<div class = cellcol>
<h2 >Output</h2>
<canvas hidden id = "canvas1"></canvas>
<img id = "hello" src = "h.png" class = "big">
<a href="h.png" id = "hello2" download="H_50x50px.png">
<button>Download Image</button>
</a>
</div>
</div>
</div>
</div>
</main>
</body>
</html>