mirror of
https://github.com/miljegen/browser-milje.git
synced 2024-12-21 23:17:28 +00:00
35 lines
1002 B
HTML
35 lines
1002 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<style>
|
|
body, html {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
#milje {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(50%, -50%);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>browser-milje!</h1>
|
|
<img id="milje" src="assets/milje.png" alt="this should represent the milje">
|
|
<input type="file" id="fileInput" accept="image/*">
|
|
<button id="uploadButton">upload milje!</button>
|
|
<div id="miljeGallery">
|
|
|
|
</div>
|
|
<script src="milje.js"></script>
|
|
</body>
|
|
</html> |