質問編集履歴
5
追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
(修正1 左:実物 右:模写) ![![イメージ説明](ae88414fe3eba1a79f260c32840cae63.png)
|
25
|
+
(修正1 左:実物 右:模写)windowの幅は同じです。 ![![イメージ説明](ae88414fe3eba1a79f260c32840cae63.png)
|
26
26
|
|
27
27
|
|
28
28
|
|
4
コード追加後の画像追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -21,6 +21,8 @@
|
|
21
21
|
(模写中のもの)![イメージ説明](5164d6360fbb164b481c81a1bbbc46ae.png)
|
22
22
|
|
23
23
|
|
24
|
+
|
25
|
+
(修正1 左:実物 右:模写) ![![イメージ説明](ae88414fe3eba1a79f260c32840cae63.png)
|
24
26
|
|
25
27
|
|
26
28
|
|
3
質問の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -7,8 +7,6 @@
|
|
7
7
|
bootstrapにおいてcontainerクラスで発生する両脇の余白をmedium以下でのみ消したいのですがそのような操作は可能なのでしょうか? 可能ならその方法を教えて頂きたいです。
|
8
8
|
|
9
9
|
|
10
|
-
|
11
|
-
またcontentーfluidを使わずに余白を消す方法がありましたら教えてください。
|
12
10
|
|
13
11
|
|
14
12
|
|
2
html情報
test
CHANGED
File without changes
|
test
CHANGED
@@ -35,3 +35,159 @@
|
|
35
35
|
|
36
36
|
|
37
37
|
模写中のサイト https://www.airbnb.jp/gift
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
```ここに言語を入力
|
44
|
+
|
45
|
+
<!doctype html>
|
46
|
+
|
47
|
+
<html lang="ja">
|
48
|
+
|
49
|
+
<head>
|
50
|
+
|
51
|
+
<!-- Required meta tags -->
|
52
|
+
|
53
|
+
<meta charset="utf-8">
|
54
|
+
|
55
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
56
|
+
|
57
|
+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<!-- Bootstrap CSS -->
|
62
|
+
|
63
|
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
<title></title>
|
68
|
+
|
69
|
+
<!-- <link rel="stylesheet" href="css/responsive.css" media="screen and (max-width: 745px)"> -->
|
70
|
+
|
71
|
+
<link rel="stylesheet" href="css/styles.css">
|
72
|
+
|
73
|
+
<style>
|
74
|
+
|
75
|
+
@media screen and (min-width: 768px) {
|
76
|
+
|
77
|
+
.cover {
|
78
|
+
|
79
|
+
background: url(img/Bg.jpg);
|
80
|
+
|
81
|
+
background-size: cover;
|
82
|
+
|
83
|
+
max-width: 100%;
|
84
|
+
|
85
|
+
height: 600px;
|
86
|
+
|
87
|
+
background-position: center;
|
88
|
+
|
89
|
+
}
|
90
|
+
|
91
|
+
}
|
92
|
+
|
93
|
+
@media screen and (max-width: 768px) {
|
94
|
+
|
95
|
+
.cover {
|
96
|
+
|
97
|
+
background: url(img/Bg.jpg);
|
98
|
+
|
99
|
+
background-size: cover;
|
100
|
+
|
101
|
+
max-width: 100%;
|
102
|
+
|
103
|
+
height: 400px;
|
104
|
+
|
105
|
+
background-position: center;
|
106
|
+
|
107
|
+
}
|
108
|
+
|
109
|
+
}
|
110
|
+
|
111
|
+
.description2 {
|
112
|
+
|
113
|
+
background-size: cover;
|
114
|
+
|
115
|
+
background-color: #009999;
|
116
|
+
|
117
|
+
height:440px;
|
118
|
+
|
119
|
+
/* width: 100% */
|
120
|
+
|
121
|
+
}
|
122
|
+
|
123
|
+
</style>
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
</head>
|
128
|
+
|
129
|
+
<body>
|
130
|
+
|
131
|
+
<div id="top1" class="container cover">
|
132
|
+
|
133
|
+
<h1 id="trip" class="text-light text-font: bold; pb-2"><b>旅を贈ろう。</b></h1>
|
134
|
+
|
135
|
+
<h5 class="text-light pb-3">Airbnbギフトカードで、世界をぐんと身近に</h5>
|
136
|
+
|
137
|
+
<a href="" class="btn btn-light"><p class="gift ml-2 pt-1">ギフトカードを登録</p></a>
|
138
|
+
|
139
|
+
</div>
|
140
|
+
|
141
|
+
<div class="container">
|
142
|
+
|
143
|
+
<div class="row" id="description">
|
144
|
+
|
145
|
+
<h2 class="col-md-12 pt-5 pb-4 text-center font-weight-bold" id="minititle">いつも完璧な贈り物</h2>
|
146
|
+
|
147
|
+
<div class="col-md-4" style="text-align:center">
|
148
|
+
|
149
|
+
<i class="far fa-envelope fa-3x pb-4 icon"></i>
|
150
|
+
|
151
|
+
<h5 class="pb-2">簡単に使える</h5>
|
152
|
+
|
153
|
+
<p class="text-muted">ギフトカードはメールで届きます。Airbnbアカウントへのギフト登録も超かんたん。</p>
|
154
|
+
|
155
|
+
</div>
|
156
|
+
|
157
|
+
<div class="col-md-4" style="text-align:center">
|
158
|
+
|
159
|
+
<i class="fas fa-stopwatch fa-3x pb-4 icon"></i>
|
160
|
+
|
161
|
+
<h5 class="pb-2">有効期限なし</h5>
|
162
|
+
|
163
|
+
<p class="text-muted">Airbnbギフトカードは無期限。だから友達も時間をかけて旅をプランできます。</p>
|
164
|
+
|
165
|
+
</div>
|
166
|
+
|
167
|
+
<div class="col-md-4" style="text-align:center">
|
168
|
+
|
169
|
+
<i class="fas fa-globe fa-3x pb-4 icon"></i>
|
170
|
+
|
171
|
+
<h5 class="pb-2">忘れられない旅</h5>
|
172
|
+
|
173
|
+
<p class="text-muted">お家は100万件以上あるので、ずっと住みたいと憧れていた街の暮らしも叶います。</p>
|
174
|
+
|
175
|
+
</div>
|
176
|
+
|
177
|
+
</div>
|
178
|
+
|
179
|
+
</div>
|
180
|
+
|
181
|
+
<div class="container description2 text-light text-center">
|
182
|
+
|
183
|
+
<img src="img/PIcon.png" alt="box" class="pt-5 pb-4">
|
184
|
+
|
185
|
+
<h2 class="font-weight-bold pb-2">ギフトカードをもらったら...</h2>
|
186
|
+
|
187
|
+
<h5 class="text-light">ログインあるいは利用登録してギフトを登録するだけです。あとは使い途をゆっくり考えましょう。</h5>
|
188
|
+
|
189
|
+
</div>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
```
|
1
追加質問
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,11 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
bootstrapにおいてcontainerクラスで発生する両脇の余白をmedium以下でのみ消したいのですがそのような操作は可能なのでしょうか?
|
7
|
+
bootstrapにおいてcontainerクラスで発生する両脇の余白をmedium以下でのみ消したいのですがそのような操作は可能なのでしょうか? 可能ならその方法を教えて頂きたいです。
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
またcontentーfluidを使わずに余白を消す方法がありましたら教えてください。
|
8
12
|
|
9
13
|
|
10
14
|
|