blob: 71ca300d317d91e1bcb3141c306c3fd609ebf4fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>card template test</title>
<link rel='stylesheet' type='text/css' media='screen' href='./card.css'>
<script defer src='./card.js'></script>
</head>
<body>
<div class="card back">
<span id="sentence" class="parse foreign">[俺](おれ)の[目](め)の[前](まえ)に{全}(ぜん)[裸](はだか)のアリスが*[立](た)っていた*。\n\*escape\* (<i>test</i>)</span>
<hr class="split">
<span id="target-word-reading" class="foreign">立つ【た・つ】</span>
<span id="target-word-translation" class="native">To stand</span>
<span id="sentence-translation" class="native spoiler hidden">Before my eyes stood Alice, butt-naked.</span>
</div>
<button onclick="document.getElementsByClassName('card')[0].classList.toggle('back'); document.getElementsByClassName('card')[0].classList.toggle('front')">toggle view</button>
</span>
</html>
|