-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmosaic.html
More file actions
48 lines (42 loc) · 1.57 KB
/
mosaic.html
File metadata and controls
48 lines (42 loc) · 1.57 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
<!DOCTYPE html>
<html>
<head>
<title>Image to Mosaic</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="Project turning the selected image into a mosaic" />
<meta name="keywords" content="HTML,CSS,JavaScript,Canva,Image,Mosaic" />
<link href="favicon.ico" rel="shortcut icon" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<div id="container">
<h1 class="dynamic-font text-center white-color">Turn a picture into a mosaic!</h1>
<div id="form-container" class="text-center">
<form>
<label id="image-input-label" for="image-input" class="button">Browse...</label>
<input id="image-input" type="file" accept="image/*" />
</form>
</div>
<div id="images-container" class="text-center box white-bg">
<button id="turn-mosaic-button" class="button no-margin-bottom">Turn To Mosaic</button>
<button id="flip-image" class="button no-margin-bottom">Flip Image</button>
<div id="image-preview-container">
<h2 class="dynamic-font dark-blue-color">Preview</h2>
<img id="image-preview" src="#" alt="Image Preview" />
</div>
<div id="loading-spinner-container">
<div id="loading-spinner" class="loading-spinner">
<span></span>
</div>
</div>
<div id="image-mosaic-container">
<h2 class="dynamic-font dark-blue-color">Mosaic</h2>
<div id="image-mosaic"></div>
</div>
</div>
</div>
<!--Scripts-->
<script type="text/javascript" src="js/mosaic.js"></script>
<script type="text/javascript" src="js/client.js"></script>
</body>
</html>