質問編集履歴
1
コードを追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,3 +1,61 @@
|
|
1
|
+
```
|
2
|
+
|
3
|
+
/*HTML*/
|
4
|
+
|
5
|
+
<!DOCTYPE html>
|
6
|
+
|
7
|
+
<html lang="ja">
|
8
|
+
|
9
|
+
<head>
|
10
|
+
|
11
|
+
<meta charset="UTF-8">
|
12
|
+
|
13
|
+
<title>フレックスの使い方</title>
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="スタイル.css">
|
16
|
+
|
17
|
+
<body>
|
18
|
+
|
19
|
+
<div class="container">
|
20
|
+
|
21
|
+
<div class="item">Item 1</div>
|
22
|
+
|
23
|
+
<div class="item">Item 2</div>
|
24
|
+
|
25
|
+
<div class="item">Item 3</div>
|
26
|
+
|
27
|
+
<div class="item">Item 4</div>
|
28
|
+
|
29
|
+
</div>
|
30
|
+
|
31
|
+
</body>
|
32
|
+
|
33
|
+
</head>
|
34
|
+
|
35
|
+
</html>
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
/*CSS*/
|
40
|
+
|
41
|
+
.container{
|
42
|
+
|
43
|
+
display: flex;
|
44
|
+
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
```
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
1
59
|
HTML
|
2
60
|
|
3
61
|
![イメージ説明](7a725404a8387bd407e6da6fe35b8d13.png)
|