-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (39 loc) · 1.53 KB
/
Copy pathindex.html
File metadata and controls
45 lines (39 loc) · 1.53 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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>五十音随机卡片练习</title>
<meta name = "viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" type="text/css" href="css/main.css" />
<script type="text/javascript">
(function(doc, win){
var docEl = doc.documentElement;
var resizeEvt = 'orientationchange' in win ? 'orientationchange' : 'resize';
var recalc = function(){
var width = docEl.clientWidth;
docEl.style.fontSize = 100 * (width / 640) + 'px';
};
recalc();
win.addEventListener(resizeEvt, recalc, false);
})(document, window);
</script>
</head>
<body>
<div class="canvas">
<div class="content">
<div class="Hiragana hide"></div>
<div class="Katakana hide"></div>
<div class="Romaji hide"></div>
<button class="voice" onclick="voice_button()"></button>
<button class="but_h shadow" onclick="h_button()">平仮名</button>
<button class="but_k shadow" onclick="k_button()">片仮名</button>
<button class="but_r shadow" onclick="r_button()">ローマ字</button>
<input type="checkbox" class="first_checkbox" style="display: none">
<input type="checkbox" class="second_checkbox"style="display: none">
</div>
<button class="next_button" onclick="displayMain()">次へ</button>
</div>
<p class="author">我是水印(๑•̀ㅂ•́) ✧<br>汐亓古夬</p>
<script src="js/main.js"></script>
</body>
</html>