質問編集履歴
1
コード修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,36 +4,6 @@
|
|
4
4
|
|
5
5
|
```HTML
|
6
6
|
|
7
|
-
<!DOCTYPE html>
|
8
|
-
|
9
|
-
<html lang="ja">
|
10
|
-
|
11
|
-
<head>
|
12
|
-
|
13
|
-
<meta charset="UTF-8">
|
14
|
-
|
15
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
16
|
-
|
17
|
-
<title>マンション売却のプロ</title>
|
18
|
-
|
19
|
-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
|
20
|
-
|
21
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
22
|
-
|
23
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
|
24
|
-
|
25
|
-
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
|
26
|
-
|
27
|
-
<script src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
|
28
|
-
|
29
|
-
<link rel="stylesheet" href="css/reset.css">
|
30
|
-
|
31
|
-
<link rel="stylesheet" href="css/style.css">
|
32
|
-
|
33
|
-
</head>
|
34
|
-
|
35
|
-
|
36
|
-
|
37
7
|
<body>
|
38
8
|
|
39
9
|
|
@@ -96,218 +66,196 @@
|
|
96
66
|
|
97
67
|
```scss
|
98
68
|
|
69
|
+
// 変数
|
70
|
+
|
99
|
-
|
71
|
+
$base-color: #038EC8;
|
72
|
+
|
73
|
+
|
74
|
+
|
100
|
-
|
75
|
+
// header
|
76
|
+
|
77
|
+
|
78
|
+
|
101
|
-
|
79
|
+
header {
|
80
|
+
|
102
|
-
|
81
|
+
height: 107px;
|
82
|
+
|
83
|
+
width: 100%;
|
84
|
+
|
85
|
+
}
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
.header {
|
90
|
+
|
91
|
+
background-color: #ffffff;
|
92
|
+
|
93
|
+
position: fixed;/*ボックスの配置方法(基準位置)を指定する。スクロールしても固定される。*/
|
94
|
+
|
95
|
+
top:0;/*topにぴったりとくっ付く*/
|
96
|
+
|
97
|
+
display: inline-block;
|
98
|
+
|
99
|
+
padding: 15px 50px;
|
100
|
+
|
101
|
+
z-index: 10;/*数が大きい方が上に表示される*/
|
102
|
+
|
103
|
+
}
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
.inner {
|
108
|
+
|
109
|
+
background: #fff;
|
110
|
+
|
111
|
+
display: flex;
|
112
|
+
|
113
|
+
align-items: center;
|
114
|
+
|
115
|
+
justify-content: space-between;
|
116
|
+
|
117
|
+
margin: 0 auto;
|
118
|
+
|
119
|
+
padding-top: 15px;
|
120
|
+
|
121
|
+
width: 960px;
|
122
|
+
|
123
|
+
position: relative;
|
124
|
+
|
125
|
+
img {
|
126
|
+
|
127
|
+
position: absolute;
|
128
|
+
|
129
|
+
top: 60%;
|
130
|
+
|
131
|
+
left: 0;
|
132
|
+
|
103
|
-
|
133
|
+
vertical-align: bottom;/*縦方向の揃え位置を指定する※この場合は下揃え*/
|
104
134
|
|
105
135
|
}
|
106
136
|
|
107
|
-
ht
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
t
|
142
|
-
|
143
|
-
display:
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
}
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
137
|
+
.header-btn {
|
138
|
+
|
139
|
+
position: absolute;
|
140
|
+
|
141
|
+
top: 60%;
|
142
|
+
|
143
|
+
right: 0;
|
144
|
+
|
145
|
+
width: 250px;
|
146
|
+
|
147
|
+
height: 44px;
|
148
|
+
|
149
|
+
border: 1px solid $base-color;
|
150
|
+
|
151
|
+
background-color: $base-color;
|
152
|
+
|
153
|
+
border-radius: 25px;
|
154
|
+
|
155
|
+
text-align: center;
|
156
|
+
|
157
|
+
display: inline-block;
|
158
|
+
|
159
|
+
&:hover {
|
160
|
+
|
161
|
+
background-color: rgba($base-color,0.5);//色の不透明度を指定する
|
162
|
+
|
163
|
+
}
|
164
|
+
|
165
|
+
a {
|
166
|
+
|
167
|
+
text-decoration: none;/*※下線を削除した*/
|
168
|
+
|
169
|
+
color: #ffffff;
|
170
|
+
|
171
|
+
font-size: 2rem;
|
172
|
+
|
173
|
+
display: block;/*※オンマウスしたときに、どこにカーソル合わせても反応する*/
|
174
|
+
|
175
|
+
height: 100%;
|
176
|
+
|
177
|
+
line-height: 44px;
|
178
|
+
|
179
|
+
}
|
180
|
+
|
181
|
+
p {
|
182
|
+
|
183
|
+
padding: 0.3rem 0 0 2rem;
|
184
|
+
|
185
|
+
text-align: left;
|
186
|
+
|
187
|
+
font-size: 1.3rem;
|
188
|
+
|
189
|
+
}
|
190
|
+
|
191
|
+
}
|
192
|
+
|
193
|
+
}
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
// main
|
198
|
+
|
199
|
+
.main {
|
200
|
+
|
201
|
+
height: 100%;
|
168
202
|
|
169
203
|
position: relative;
|
170
204
|
|
171
|
-
|
205
|
+
.box {
|
172
206
|
|
173
207
|
position: absolute;
|
174
208
|
|
175
|
-
to
|
209
|
+
bottom: 12%;
|
176
|
-
|
210
|
+
|
177
|
-
left: 0;
|
211
|
+
left: 30%;
|
178
|
-
|
212
|
+
|
179
|
-
|
213
|
+
/* margin: 0 auto; */
|
214
|
+
|
215
|
+
width: 39%;
|
216
|
+
|
217
|
+
height: 8%;
|
218
|
+
|
219
|
+
color: #666;
|
220
|
+
|
221
|
+
background-color: #f7f7f7;
|
222
|
+
|
223
|
+
border: 1px solid #f7f7f7;
|
224
|
+
|
225
|
+
border-radius: 34px;
|
226
|
+
|
227
|
+
display: flex;
|
228
|
+
|
229
|
+
align-items: center;
|
230
|
+
|
231
|
+
justify-content: center;
|
232
|
+
|
233
|
+
// text-align: center;
|
234
|
+
|
235
|
+
.btn {
|
236
|
+
|
237
|
+
margin: auto;
|
238
|
+
|
239
|
+
&:hover {
|
240
|
+
|
241
|
+
opacity: 0.5;
|
242
|
+
|
243
|
+
}
|
244
|
+
|
245
|
+
p {
|
246
|
+
|
247
|
+
color: #000000;
|
248
|
+
|
249
|
+
font-size: 2.8rem;
|
250
|
+
|
251
|
+
line-height: 5px;
|
252
|
+
|
253
|
+
}
|
254
|
+
|
255
|
+
}
|
180
256
|
|
181
257
|
}
|
182
258
|
|
183
|
-
.header-btn {
|
184
|
-
|
185
|
-
position: absolute;
|
186
|
-
|
187
|
-
top: 60%;
|
188
|
-
|
189
|
-
right: 0;
|
190
|
-
|
191
|
-
width: 250px;
|
192
|
-
|
193
|
-
height: 44px;
|
194
|
-
|
195
|
-
border: 1px solid $base-color;
|
196
|
-
|
197
|
-
background-color: $base-color;
|
198
|
-
|
199
|
-
border-radius: 25px;
|
200
|
-
|
201
|
-
text-align: center;
|
202
|
-
|
203
|
-
display: inline-block;
|
204
|
-
|
205
|
-
&:hover {
|
206
|
-
|
207
|
-
background-color: rgba($base-color,0.5);//色の不透明度を指定する
|
208
|
-
|
209
|
-
}
|
210
|
-
|
211
|
-
a {
|
212
|
-
|
213
|
-
text-decoration: none;/*※下線を削除した*/
|
214
|
-
|
215
|
-
color: #ffffff;
|
216
|
-
|
217
|
-
font-size: 2rem;
|
218
|
-
|
219
|
-
display: block;/*※オンマウスしたときに、どこにカーソル合わせても反応する*/
|
220
|
-
|
221
|
-
height: 100%;
|
222
|
-
|
223
|
-
line-height: 44px;
|
224
|
-
|
225
|
-
}
|
226
|
-
|
227
|
-
p {
|
228
|
-
|
229
|
-
padding: 0.3rem 0 0 2rem;
|
230
|
-
|
231
|
-
text-align: left;
|
232
|
-
|
233
|
-
font-size: 1.3rem;
|
234
|
-
|
235
|
-
}
|
236
|
-
|
237
|
-
}
|
238
|
-
|
239
|
-
}
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
// main
|
250
|
-
|
251
|
-
.main {
|
252
|
-
|
253
|
-
height: 100%;
|
254
|
-
|
255
|
-
position: relative;
|
256
|
-
|
257
|
-
.box {
|
258
|
-
|
259
|
-
position: absolute;
|
260
|
-
|
261
|
-
bottom: 12%;
|
262
|
-
|
263
|
-
left: 30%;
|
264
|
-
|
265
|
-
/* margin: 0 auto; */
|
266
|
-
|
267
|
-
width: 39%;
|
268
|
-
|
269
|
-
height: 8%;
|
270
|
-
|
271
|
-
color: #666;
|
272
|
-
|
273
|
-
background-color: #f7f7f7;
|
274
|
-
|
275
|
-
border: 1px solid #f7f7f7;
|
276
|
-
|
277
|
-
border-radius: 34px;
|
278
|
-
|
279
|
-
display: flex;
|
280
|
-
|
281
|
-
align-items: center;
|
282
|
-
|
283
|
-
justify-content: center;
|
284
|
-
|
285
|
-
// text-align: center;
|
286
|
-
|
287
|
-
.btn {
|
288
|
-
|
289
|
-
margin: auto;
|
290
|
-
|
291
|
-
&:hover {
|
292
|
-
|
293
|
-
opacity: 0.5;
|
294
|
-
|
295
|
-
}
|
296
|
-
|
297
|
-
p {
|
298
|
-
|
299
|
-
color: #000000;
|
300
|
-
|
301
|
-
font-size: 2.8rem;
|
302
|
-
|
303
|
-
line-height: 5px;
|
304
|
-
|
305
|
-
}
|
306
|
-
|
307
|
-
}
|
308
|
-
|
309
|
-
}
|
310
|
-
|
311
259
|
}
|
312
260
|
|
313
261
|
```
|