-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (42 loc) · 942 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
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>uilab-logo.js example</title>
<style>
.flex-container {
display: flex;
position: absolute;
flex-flow: row nowrap;
align-items: center;
justify-content: center;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
}
.flex-item {
flex: 0 0 auto;
}
#logo {
margin: 0;
padding: 0;
}
#logo svg {
width: 200px;
height: 200px;
}
</style>
</head>
<body>
<div class="flex-container">
<div class="flex-item">
<div id="logo"></div>
</div>
</div>
<script src="/assets/uilab-logo.bundle.js"></script>
<script>
var logo = new UilabLogo(document.getElementById('logo'));
</script>
</body>
</html>