-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (46 loc) · 1.03 KB
/
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
46
47
48
49
50
51
52
53
<!doctype html>
<html>
<head>
<title>Kanatype demo</title>
<script src="kanabox.js"></script>
<script>
window.onload = () => {
KanaBox(document.querySelector(".kanabox"));
};
</script>
<style>
body {
font-family: sans-serif;
margin: 0px;
padding: 0px;
}
.main {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.content {
display: inline-block;
}
.description {
border: solix 1px red;
}
input {
width: 100%;
font-size: 32px;
}
</style>
</head>
<body>
<div class="main">
<div class="content">
<input type="text" class="kanabox" />
<div class="description">
Type lowercase for Hiragana, type uppercase for Katakana<br />
</div>
</div>
</div>
</body>
</html>