質問編集履歴
3
書式の改善
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,6 +36,12 @@
|
|
36
36
|
```
|
37
37
|
|
38
38
|
```CSS
|
39
|
+
|
40
|
+
.container {
|
41
|
+
width: 812px;
|
42
|
+
margin: 0 auto;
|
43
|
+
}
|
44
|
+
|
39
45
|
.product-wrapper{
|
40
46
|
height:1215px;
|
41
47
|
}
|
2
書式の改善
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
ご指摘ありがとうございます。内容編集しました。
|
1
|
+
ご指摘ありがとうございます。内容編集しました。
|
2
2
|
分かりやすいように、productのbackgroundを灰色にして見てます。
|
3
3
|
画像が、灰色の背景、左端にぴったりくっついて欲しいのですが、右側に寄ってしまいます。
|
4
4
|
|
1
書式の改善
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,26 +1,74 @@
|
|
1
|
-
|
1
|
+
ご指摘ありがとうございます。内容編集しました。
|
2
|
+
分かりやすいように、productのbackgroundを灰色にして見てます。
|
3
|
+
画像が、灰色の背景、左端にぴったりくっついて欲しいのですが、右側に寄ってしまいます。
|
2
4
|
|
3
5
|
```HTML
|
6
|
+
<div class="product-wrapper">
|
7
|
+
<div class="container">
|
8
|
+
<div class="heading">
|
9
|
+
<h2>PRODUCT</h2>
|
10
|
+
<a href="#" class="btn more">MORE</a>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<div class="products">
|
14
|
+
|
4
15
|
<div class="product">
|
16
|
+
<a href="#">
|
5
|
-
|
17
|
+
<div class="product-icon">
|
6
|
-
|
18
|
+
<img src="paspol_images/fes001t.png">
|
7
|
-
<p>この世界で死ぬまでにしたいこと2000</p></a>
|
8
|
-
|
19
|
+
</div>
|
20
|
+
<div class="products-info">
|
21
|
+
<p>The World Festival Guide - 海外の音楽フェス完全ガイド -</p>
|
22
|
+
</div>
|
23
|
+
</a>
|
9
24
|
</div>
|
25
|
+
|
26
|
+
<div class="product">
|
27
|
+
<a href="#">
|
28
|
+
<div class="product-icon">
|
29
|
+
<img src="paspol_images/banner_21.png">
|
30
|
+
</div>
|
31
|
+
<div class="products-info">
|
32
|
+
<p>この世界で死ぬまでにしたいこと2000</p>
|
33
|
+
</div>
|
34
|
+
</a>
|
35
|
+
</div>
|
10
36
|
```
|
11
37
|
|
12
38
|
```CSS
|
39
|
+
.product-wrapper{
|
40
|
+
height:1215px;
|
41
|
+
}
|
42
|
+
|
13
43
|
.product{
|
44
|
+
height:450px;
|
45
|
+
width:180px;
|
46
|
+
margin-right:80px;
|
47
|
+
background-color: gray;
|
14
48
|
float: left;
|
15
|
-
width:30%;
|
16
|
-
padding-right: 25px;
|
17
49
|
}
|
18
50
|
|
51
|
+
.product:hover{
|
52
|
+
opacity: 0.8;
|
53
|
+
transition: all 0.3s;
|
54
|
+
}
|
55
|
+
|
56
|
+
.product-icon{
|
57
|
+
float: left;
|
58
|
+
width: 200px;
|
59
|
+
height:280px;
|
60
|
+
margin: 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
.product-icon img{
|
64
|
+
width: 200px;
|
65
|
+
height:280px;
|
66
|
+
}
|
67
|
+
|
19
68
|
.product p{
|
20
69
|
color: #13191B;
|
21
70
|
padding:35px 0 165px 0;
|
22
71
|
font-weight: bold;
|
23
72
|
}
|
24
|
-
```
|
25
73
|
|
26
|
-
|
74
|
+
```
|