/
index.html
65 lines (61 loc) · 4.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
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>nth-of-type generator</title>
<meta name="description" content="CSSの疑似クラス nth-child / nth-last-child / nth-of-type / nty-last-of-type について感覚的に理解するためのジェネレータです。 CSSの学習にご活用ください。【使い方】1.縦方向に表示する要素の数を入力する。2.横方向に表示する要素の数を入力する。3.テストしたい擬似クラスを選択する。4.擬似クラスのカッコ内の指定方法を入力する。5.生成された要素をクリックすると、擬似クラスの対象外に指定することができる。">
<meta property="og:title" content="nth-of-type generator" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://h40831.github.io/nth-of-type-generator/" />
<meta property="og:image" content="https://h40831.github.io/nth-of-type-generator/ogImage.png" />
<meta property="og:site_name" content="nth-of-type generator" />
<meta property="og:description" content="CSSの疑似クラス nth-child / nth-last-child / nth-of-type / nty-last-of-type について感覚的に理解するためのジェネレータです。 CSSの学習にご活用ください。【使い方】1.縦方向に表示する要素の数を入力する。2.横方向に表示する要素の数を入力する。3.テストしたい擬似クラスを選択する。4.擬似クラスのカッコ内の指定方法を入力する。5.生成された要素をクリックすると、擬似クラスの対象外に指定することができる。" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="google-site-verification" content="aK0-Gbr9tR5nyA6E6jjVoXC5upey3ss2sllktBtG584" />
<script src='https://h40831.github.io/nth-of-type-generator/vue.js'></script>
<link rel="stylesheet" type="text/css" href="https://h40831.github.io/nth-of-type-generator/index.css">
<link rel="shortcut icon" type="image/x-icon" href="https://h40831.github.io/nth-of-type-generator/favicon.ico">
</head>
<body>
<header>
<h1 id="title">nth-of-type generator</h1>
<nav id="inputArea">
<input id="y" class="selectable" :class="{inputed:inputed}" v-model="qty" placeholder="タテ" @input="isInput" @keydown.up="plus" @keydown.down="minus" @keyup="applyDom">
<input id="x" class="selectable" :class="{inputed:inputed}" v-model="qty" placeholder="ヨコ" @input="isInput" @keydown.up="plus" @keydown.down="minus" @keyup="applyDom">
<span id="selector">
<label class="forRadio selectable" :class="{inputed:this.nthOf==='nth-child'}">
<input type="radio" id="nthChild" value="nth-child" v-model="nthOf">nth-child
</label>
<label class="forRadio selectable" :class="{inputed:this.nthOf==='nth-of-type'}">
<input type="radio" id="nthOfType" value="nth-of-type" v-model="nthOf">nth-of-type
</label>
<label class="forRadio selectable" :class="{inputed:this.nthOf==='nth-last-child'}">
<input type="radio" id="nthLastChild" value="nth-last-child" v-model="nthOf">nth-last-child
</label>
<label class="forRadio selectable" :class="{inputed:this.nthOf==='nth-last-of-type'}">
<input type="radio" id="nthLastOfType" value="nth-last-of-type" v-model="nthOf">nth-last-of-type
</label>
</span>
<span id="n" class="selectable" :class="{inputed:inputed}">(
<input v-model="selector" placeholder=" " @input="isInput">
)</span>
</nav>
</header>
<main id="testArea">
<style type="text/css">
{{ style }}
</style>
<div v-html="element">
</div>
</main>
<div class="ad">
<!-- admax -->
<script src="https://adm.shinobi.jp/s/0bc422403957c9783502b9aa6a3a582b"></script>
<script src="https://adm.shinobi.jp/s/7fbe1ce182340f4b9e6b4b37e4011039"></script>
<script src="https://adm.shinobi.jp/s/50d321fca4835e80c5000f5fc8c20b38"></script>
<script src="https://adm.shinobi.jp/s/c56658680d793d488e4f019785c1e49b"></script>
<!-- admax -->
</div>
<script src='https://h40831.github.io/nth-of-type-generator/index.js'></script>
</body>
</html>