質問編集履歴

8

2021/02/28 02:34

投稿

hanakos
hanakos

スコア0

test CHANGED
File without changes
test CHANGED
@@ -400,6 +400,10 @@
400
400
 
401
401
  Chromeで動作確認をしています。
402
402
 
403
+ [追記]サーバーには繋いでおらず、ローカルのみで動作確認をしていますが関係があるのでしょうか。
404
+
405
+
406
+
403
407
 
404
408
 
405
409
  以上、よろしくお願いします。

7

2021/02/28 02:34

投稿

hanakos
hanakos

スコア0

test CHANGED
File without changes
test CHANGED
@@ -124,7 +124,263 @@
124
124
 
125
125
  ```CSS
126
126
 
127
+ *{box-sizing: border-box}
128
+
129
+
130
+
131
+ body{
132
+
133
+ max-width:1040px;
134
+
135
+ margin: 0 auto;
136
+
137
+ font-family: Georgia, '游明朝', YuMincho, 'Hiragino Mincho ProN', Meiryo, serif;
138
+
139
+ line-height: 1.8;
140
+
141
+ }
142
+
143
+
144
+
145
+ h1 a{
146
+
147
+ font-weight: 700;
148
+
149
+ font-size: 36px;
150
+
151
+ line-height: 1.3;
152
+
153
+ }
154
+
155
+
156
+
157
+ p{font-size: 18px;}
158
+
159
+
160
+
161
+ .container{
162
+
163
+ height: 100px;
164
+
165
+ width: 1040px;
166
+
167
+ margin-top: 50px;
168
+
169
+ margin-bottom: 60px;
170
+
171
+ display: flex;
172
+
173
+ justify-content: space-between;
174
+
175
+ }
176
+
177
+
178
+
179
+ .header__title{
180
+
181
+ vertical-align: middle;
182
+
183
+ margin-top: 10px;
184
+
185
+ }
186
+
187
+
188
+
189
+
190
+
191
+ a{
192
+
193
+ color: #111111;
194
+
195
+ font-family: Georgia, 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif;;
196
+
197
+ text-decoration: none;
198
+
199
+ display: block;
200
+
201
+ line-height: 52px;
202
+
203
+ font-size: 17px;
204
+
205
+ text-align: left;
206
+
207
+ cursor: pointer;
208
+
209
+ }
210
+
211
+
212
+
213
+ a:hover{
214
+
215
+ color: #c49029;
216
+
217
+ }
218
+
219
+
220
+
221
+ nav{
222
+
223
+ padding-top: 40px;
224
+
225
+ margin-left: 156px;
226
+
227
+ }
228
+
229
+
230
+
231
+
232
+
127
- コード
233
+ ul{
234
+
235
+ display: flex;
236
+
237
+ list-style: none;
238
+
239
+ padding: 0;
240
+
241
+ margin: 0;
242
+
243
+ }
244
+
245
+
246
+
247
+ ul.menu li{
248
+
249
+ padding-right:30px;
250
+
251
+ display: inline-block;
252
+
253
+ list-style-type: none;
254
+
255
+ position:relative;
256
+
257
+ }
258
+
259
+
260
+
261
+ .after::after{
262
+
263
+ display: inline-block;
264
+
265
+ font: normal 14px Georgia, 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif;
266
+
267
+ -webkit-font-smoothing: antialiased;
268
+
269
+ font-family: "Font Awesome 5 Free";
270
+
271
+ font-weight: 900;
272
+
273
+ content: "\f107";
274
+
275
+ position: relative;
276
+
277
+ right: -8px;
278
+
279
+ bottom: 1px;
280
+
281
+ }
282
+
283
+
284
+
285
+ ul.menu ul{
286
+
287
+ display: none;
288
+
289
+ margin: 0;
290
+
291
+ padding: 0;
292
+
293
+ position:absolute;
294
+
295
+ }
296
+
297
+
298
+
299
+ ul.menu ul li{
300
+
301
+ padding: 10px 20px 0px 20px;
302
+
303
+ width: 188px;
304
+
305
+ background-color: #fff;
306
+
307
+ border: solid 1px gray;
308
+
309
+ }
310
+
311
+
312
+
313
+ ul.menu li:hover ul{
314
+
315
+ display: block;
316
+
317
+ }
318
+
319
+
320
+
321
+ .search:focus{
322
+
323
+ width:200px;
324
+
325
+ height: 34px;
326
+
327
+ border:1px solid #e0e0e0;
328
+
329
+ background-color: white;
330
+
331
+ cursor: text;
332
+
333
+ }
334
+
335
+
336
+
337
+ .search{
338
+
339
+ height: 34px;
340
+
341
+ width: 0;
342
+
343
+ background: url(../img/search.jpeg) no-repeat left center ;
344
+
345
+ background-size: 26px;
346
+
347
+ padding-left: 36px;
348
+
349
+ font-size: 16px;
350
+
351
+ border:1px solid #e0e0e0;
352
+
353
+ z-index:5;
354
+
355
+ position: absolute;
356
+
357
+ right:0;
358
+
359
+ top: -5px;
360
+
361
+ outline: none;
362
+
363
+ border: none;
364
+
365
+ cursor: pointer;
366
+
367
+ transition: all 0.5s;
368
+
369
+ }
370
+
371
+
372
+
373
+ .search-list{
374
+
375
+ height: 40px;
376
+
377
+ display: inline;
378
+
379
+ float:right;
380
+
381
+ position:relative;
382
+
383
+ }
128
384
 
129
385
  ```
130
386
 

6

2021/02/28 00:15

投稿

hanakos
hanakos

スコア0

test CHANGED
File without changes
test CHANGED
File without changes

5

2021/02/28 00:15

投稿

hanakos
hanakos

スコア0

test CHANGED
File without changes
test CHANGED
@@ -118,11 +118,17 @@
118
118
 
119
119
 
120
120
 
121
+ ```
122
+
123
+
124
+
121
125
  ```CSS
122
126
 
123
127
  コード
124
128
 
125
129
  ```
130
+
131
+
126
132
 
127
133
 
128
134
 

4

2021/02/28 00:15

投稿

hanakos
hanakos

スコア0

test CHANGED
File without changes
test CHANGED
@@ -112,7 +112,7 @@
112
112
 
113
113
  </body>
114
114
 
115
- </html>```
115
+ </html>
116
116
 
117
117
 
118
118
 

3

2021/02/28 00:14

投稿

hanakos
hanakos

スコア0

test CHANGED
File without changes
test CHANGED
@@ -118,273 +118,11 @@
118
118
 
119
119
 
120
120
 
121
- ```css
121
+ ```CSS
122
122
 
123
-
124
-
125
- *{box-sizing: border-box}
126
-
127
-
128
-
129
- body{
130
-
131
- max-width:1040px;
132
-
133
- margin: 0 auto;
134
-
135
- font-family: Georgia, '游明朝', YuMincho, 'Hiragino Mincho ProN', Meiryo, serif;
136
-
137
- line-height: 1.8;
138
-
139
- }
140
-
141
-
142
-
143
- h1 a{
144
-
145
- font-weight: 700;
146
-
147
- font-size: 36px;
148
-
149
- line-height: 1.3;
150
-
151
- }
152
-
153
-
154
-
155
- p{font-size: 18px;}
156
-
157
-
158
-
159
- .container{
160
-
161
- height: 100px;
162
-
163
- width: 1040px;
164
-
165
- margin-top: 50px;
166
-
167
- margin-bottom: 60px;
168
-
169
- display: flex;
170
-
171
- justify-content: space-between;
172
-
173
- }
174
-
175
-
176
-
177
- .header__title{
178
-
179
- vertical-align: middle;
180
-
181
- margin-top: 10px;
182
-
183
- }
184
-
185
-
186
-
187
-
188
-
189
- a{
190
-
191
- color: #111111;
192
-
193
- font-family: Georgia, 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif;;
194
-
195
- text-decoration: none;
196
-
197
- display: block;
198
-
199
- line-height: 52px;
200
-
201
- font-size: 17px;
202
-
203
- text-align: left;
204
-
205
- cursor: pointer;
206
-
207
- }
208
-
209
-
210
-
211
- a:hover{
212
-
213
- color: #c49029;
214
-
215
- }
216
-
217
-
218
-
219
- nav{
220
-
221
- padding-top: 40px;
222
-
223
- margin-left: 156px;
224
-
225
- }
226
-
227
-
228
-
229
-
230
-
231
- ul{
123
+ コード
232
-
233
- display: flex;
234
-
235
- list-style: none;
236
-
237
- padding: 0;
238
-
239
- margin: 0;
240
-
241
- }
242
-
243
-
244
-
245
- ul.menu li{
246
-
247
- padding-right:30px;
248
-
249
- display: inline-block;
250
-
251
- list-style-type: none;
252
-
253
- position:relative;
254
-
255
- }
256
-
257
-
258
-
259
- .after::after{
260
-
261
- display: inline-block;
262
-
263
- font: normal 14px Georgia, 游明朝, YuMincho, "Hiragino Mincho ProN", Meiryo, serif;
264
-
265
- -webkit-font-smoothing: antialiased;
266
-
267
- font-family: "Font Awesome 5 Free";
268
-
269
- font-weight: 900;
270
-
271
- content: "\f107";
272
-
273
- position: relative;
274
-
275
- right: -8px;
276
-
277
- bottom: 1px;
278
-
279
- }
280
-
281
-
282
-
283
- ul.menu ul{
284
-
285
- display: none;
286
-
287
- margin: 0;
288
-
289
- padding: 0;
290
-
291
- position:absolute;
292
-
293
- }
294
-
295
-
296
-
297
- ul.menu ul li{
298
-
299
- padding: 10px 20px 0px 20px;
300
-
301
- width: 188px;
302
-
303
- background-color: #fff;
304
-
305
- border: solid 1px gray;
306
-
307
- }
308
-
309
-
310
-
311
- ul.menu li:hover ul{
312
-
313
- display: block;
314
-
315
- }
316
-
317
-
318
-
319
- .search:focus{
320
-
321
- width:200px;
322
-
323
- height: 34px;
324
-
325
- border:1px solid #e0e0e0;
326
-
327
- background-color: white;
328
-
329
- cursor: text;
330
-
331
- }
332
-
333
-
334
-
335
- .search{
336
-
337
- height: 34px;
338
-
339
- width: 0;
340
-
341
- background: url(../img/search.jpeg) no-repeat left center ;
342
-
343
- background-size: 26px;
344
-
345
- padding-left: 36px;
346
-
347
- font-size: 16px;
348
-
349
- border:1px solid #e0e0e0;
350
-
351
- z-index:5;
352
-
353
- position: absolute;
354
-
355
- right:0;
356
-
357
- top: -5px;
358
-
359
- outline: none;
360
-
361
- border: none;
362
-
363
- cursor: pointer;
364
-
365
- transition: all 0.5s;
366
-
367
- }
368
-
369
-
370
-
371
- .search-list{
372
-
373
- height: 40px;
374
-
375
- display: inline;
376
-
377
- float:right;
378
-
379
- position:relative;
380
-
381
- }
382
-
383
-
384
124
 
385
125
  ```
386
-
387
-
388
126
 
389
127
 
390
128
 

2

2021/02/28 00:13

投稿

hanakos
hanakos

スコア0

test CHANGED
File without changes
test CHANGED
@@ -120,6 +120,8 @@
120
120
 
121
121
  ```css
122
122
 
123
+
124
+
123
125
  *{box-sizing: border-box}
124
126
 
125
127
 
@@ -378,10 +380,14 @@
378
380
 
379
381
  }
380
382
 
383
+
384
+
381
385
  ```
382
386
 
383
387
 
384
388
 
389
+
390
+
385
391
  ### 試したこと
386
392
 
387
393
  初心者なのでどれを試せばいいのかわかりませんでした。

1

2021/02/28 00:12

投稿

hanakos
hanakos

スコア0

test CHANGED
File without changes
test CHANGED
@@ -116,6 +116,8 @@
116
116
 
117
117
 
118
118
 
119
+
120
+
119
121
  ```css
120
122
 
121
123
  *{box-sizing: border-box}
@@ -374,7 +376,11 @@
374
376
 
375
377
  position:relative;
376
378
 
379
+ }
380
+
377
- }```
381
+ ```
382
+
383
+
378
384
 
379
385
  ### 試したこと
380
386