回答編集履歴
1
修正
test
CHANGED
@@ -7,6 +7,18 @@
|
|
7
7
|
<link rel="stylesheet" href="pc.css" type="text/css"
|
8
8
|
|
9
9
|
media="screen and (min-width: 761px)">
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
省略
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
<div class="sample">
|
18
|
+
|
19
|
+
<img>ほげほげ<div>あいうえお</div>
|
20
|
+
|
21
|
+
</div>
|
10
22
|
|
11
23
|
```
|
12
24
|
|
@@ -28,9 +40,25 @@
|
|
28
40
|
|
29
41
|
/**pc.css**/
|
30
42
|
|
31
|
-
|
43
|
+
/**私の解釈が間違ってなければ**/
|
32
44
|
|
33
|
-
|
45
|
+
.sample {
|
46
|
+
|
47
|
+
display: flex;
|
48
|
+
|
49
|
+
}
|
50
|
+
|
51
|
+
.sample div {
|
52
|
+
|
53
|
+
display: inline-block;
|
54
|
+
|
55
|
+
margin-right: auto;
|
56
|
+
|
57
|
+
}
|
58
|
+
|
59
|
+
.sample img {
|
60
|
+
|
61
|
+
margin-left: auto;
|
34
62
|
|
35
63
|
}
|
36
64
|
|