-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
43 lines (35 loc) · 2.03 KB
/
Copy pathexample.html
File metadata and controls
43 lines (35 loc) · 2.03 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<style>
.card { background: #eee; padding: 16px; box-sizing: border-box; width: 100%; }
.cards1 { display: flex; align-items: flex-start; gap: 16px; list-style: none; width: 100%; max-width: 1000px; margin: 2em auto; padding: 0; }
.cards1 .card { background: #eee; padding: 16px; box-sizing: border-box; width: 100%; }
.cards2 { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 16px; list-style: none; width: 100%; max-width: 1000px; margin: 2em auto; padding: 0; }
.cards2 .card { background: #eee; padding: 16px; box-sizing: border-box; width: 320px; }
.cards3 { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 16px; list-style: none; width: 100%; max-width: 1000px; margin: 2em auto; padding: 0; }
.cards3 .card { background: #eee; padding: 16px; box-sizing: border-box; width: 320px; }
</style>
</head>
<body>
<ul class="cards1">
<li class="card" data-mh="group1">[data-mh="group1"]<br>.</li>
<li class="card" data-mh="group1">[data-mh="group1"]<br>1<br>2-----------------------------------------------<br>3-----------------------------------------------<br>4</li>
<li class="card" data-mh="group1">[data-mh="group1"]<br>.</li>
</ul>
<ul class="cards2">
<li class="card" data-mh="group2">[data-mh="group2"]<br>.</li>
<li class="card" data-mh="group2">[data-mh="group2"]<br>1<br>2-----------------------------------------------<br>3-----------------------------------------------<br>4<br>5</li>
<li class="card" data-mh="group2">[data-mh="group2"]<br>.</li>
</ul>
<ul class="cards3">
<li class="card" data-mh="group3">[data-mh="group3"]<br>.</li>
<li class="card" data-mh="group3">[data-mh="group3"]<br>1<br>2-----------------------------------------------<br>3-----------------------------------------------<br>4<br>5</li>
<li class="card">[対象外]<br>.</li>
</ul>
<script src="./matchHeight.vanilla.js"></script>
</body>
</html>