質問編集履歴
4
画像を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,9 +10,9 @@
|
|
10
10
|
お手数ですがよろしくお願いします。
|
11
11
|
|
12
12
|
追記画像
|
13
|
+

|
13
14
|
|
14
15
|
|
15
|
-
|
16
16
|
```
|
17
17
|
<section class="profile-mv">
|
18
18
|
<div class="profile-mv-wrap">
|
3
画像を追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,7 +9,10 @@
|
|
9
9
|
でもまず、熊のポジションをうまく移動させたいのですが、上記のような状態です。
|
10
10
|
お手数ですがよろしくお願いします。
|
11
11
|
|
12
|
+
追記画像
|
12
13
|
|
14
|
+
|
15
|
+
|
13
16
|
```
|
14
17
|
<section class="profile-mv">
|
15
18
|
<div class="profile-mv-wrap">
|
2
画像の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
position:absolute;でbottom:-13px;にしてあげると上手く行くかと思いましたが、
|
4
4
|
これをするとテキストが左に来てしまったり、熊がセクションの上の壁を突き抜けてしまいます。
|
5
5
|
|
6
|
+

|
7
|
+
|
6
8
|
熊と同じ高さにして、レスポンシブで縮めると、テキストが熊の上に来るようにしたいと思っています。
|
7
9
|
でもまず、熊のポジションをうまく移動させたいのですが、上記のような状態です。
|
8
10
|
お手数ですがよろしくお願いします。
|
1
sass→cssに変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,31 +23,38 @@
|
|
23
23
|
```
|
24
24
|
.profile-mv {
|
25
25
|
height: auto;
|
26
|
-
// min-height: 600px;
|
27
26
|
background-color: skyblue;
|
28
27
|
padding-top: 30px;
|
29
|
-
&-wrap {
|
30
|
-
max-width: 1080px;
|
31
|
-
margin: 0 auto;
|
32
|
-
position: relative;
|
33
|
-
display: flex;
|
34
|
-
&-left {
|
35
|
-
img {
|
36
|
-
position: absolute;
|
37
|
-
bottom: -20px;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
&-right {
|
41
|
-
display: flex;
|
42
|
-
align-items: center;
|
43
|
-
h1 {
|
44
|
-
font-size: 56px;
|
45
|
-
font-weight: bold;
|
46
|
-
text-align: center;
|
47
|
-
color: white;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}
|
51
28
|
}
|
52
29
|
|
30
|
+
.profile-mv-wrap {
|
31
|
+
max-width: 1080px;
|
32
|
+
margin: 0 auto;
|
33
|
+
position: relative;
|
34
|
+
display: -webkit-box;
|
35
|
+
display: -ms-flexbox;
|
36
|
+
display: flex;
|
37
|
+
}
|
38
|
+
|
39
|
+
.profile-mv-wrap-left img {
|
40
|
+
position: absolute;
|
41
|
+
bottom: -20px;
|
42
|
+
}
|
43
|
+
|
44
|
+
.profile-mv-wrap-right {
|
45
|
+
display: -webkit-box;
|
46
|
+
display: -ms-flexbox;
|
47
|
+
display: flex;
|
48
|
+
-webkit-box-align: center;
|
49
|
+
-ms-flex-align: center;
|
50
|
+
align-items: center;
|
51
|
+
}
|
52
|
+
|
53
|
+
.profile-mv-wrap-right h1 {
|
54
|
+
font-size: 56px;
|
55
|
+
font-weight: bold;
|
56
|
+
text-align: center;
|
57
|
+
color: white;
|
58
|
+
}
|
59
|
+
|
53
60
|
```
|