回答編集履歴
1
コード追記
answer
CHANGED
@@ -15,4 +15,25 @@
|
|
15
15
|
.main-right-wrapper p{
|
16
16
|
text-align: left;
|
17
17
|
}
|
18
|
+
```
|
19
|
+
|
20
|
+
---
|
21
|
+
display:flex; を使う場合も親要素に設定します。
|
22
|
+
|
23
|
+
```css
|
24
|
+
.main-right-wrapper{
|
25
|
+
width:35%;
|
26
|
+
float:right;
|
27
|
+
display: flex;
|
28
|
+
flex-direction: column;
|
29
|
+
align-items: flex-start;
|
30
|
+
}
|
31
|
+
|
32
|
+
.main-right-wrapper img{
|
33
|
+
width:100px;
|
34
|
+
height:100px;
|
35
|
+
border-radius: 50%;
|
36
|
+
margin-top:100px;
|
37
|
+
align-self: center;
|
38
|
+
}
|
18
39
|
```
|