質問編集履歴

4

文法の修正

2020/11/08 12:56

投稿

ry0559
ry0559

スコア24

test CHANGED
File without changes
test CHANGED
@@ -41,441 +41,3 @@
41
41
  スマホで表示するには、何か設定が必要でしょうか?
42
42
 
43
43
  宜しくお願いします。
44
-
45
-
46
-
47
- ```head
48
-
49
-
50
-
51
- @section('head')
52
-
53
- <meta charset="UTF-8">
54
-
55
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
56
-
57
- <meta name="description" itemprop="description" content="@yield('description')">
58
-
59
- <meta name="keywords" itemprop="keywords" content="@yield('keywords')">
60
-
61
- <link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
62
-
63
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.5.9/dist/css/uikit.min.css" />
64
-
65
- <link rel="stylesheet" href="{{ asset('/css/uikit-loop.css') }}">
66
-
67
-
68
-
69
-
70
-
71
- <title>@yield('title')</title>
72
-
73
- @endsection
74
-
75
-
76
-
77
- ```
78
-
79
-
80
-
81
- ```header
82
-
83
- @section('header')
84
-
85
- <header>
86
-
87
- <div uk-sticky="sel-target: .uk-navbar-container; cls-active: uk-navbar-sticky">
88
-
89
- <nav class="uk-navbar-container uk-navbar-transparent" uk-navbar>
90
-
91
-
92
-
93
-
94
-
95
- <div class="uk-navbar-left uk-visible@m">
96
-
97
- <ul class="uk-navbar-nav">
98
-
99
- <li class="uk-active"><a href="">いいい</a></li>
100
-
101
- <li class="uk-active"><a href="">ううう</a></li>
102
-
103
- <li><a href=""></a></li>
104
-
105
- </ul>
106
-
107
- </div>
108
-
109
-
110
-
111
- <div class="uk-navbar-right uk-visible@m">
112
-
113
- <a class="uk-button uk-button-default uk-margin-small-right uk-button-secondary" href="https://www.instagram.com/">あああああ</a>
114
-
115
- </div>
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
- {{-- nav mobile buton --}}
124
-
125
- <div class="uk-navbar-right uk-hidden@m">
126
-
127
- <a class="uk-navbar-toggle" uk-toggle="target: #offcanvas-nav" uk-navbar-toggle-icon href=""></a>
128
-
129
- </div>
130
-
131
- </nav>
132
-
133
- </div>
134
-
135
- </header>
136
-
137
-
138
-
139
- <div id="offcanvas-nav" uk-offcanvas="overlay: true">
140
-
141
- <div class="uk-offcanvas-bar">
142
-
143
- <ul class="uk-nav uk-nav-default">
144
-
145
- <li class="uk-active"><a href="#">Active</a></li>
146
-
147
- <li class="uk-parent">
148
-
149
- <a href="#">Parent</a>
150
-
151
- <ul class="uk-nav-sub">
152
-
153
- <li><a href="#">Sub item</a></li>
154
-
155
- <li><a href="#">Sub item</a></li>
156
-
157
- </ul>
158
-
159
- </li>
160
-
161
- <li class="uk-nav-header">Header</li>
162
-
163
- <li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: table"></span> Item</a></li>
164
-
165
- <li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: thumbnails"></span> Item</a></li>
166
-
167
- <li class="uk-nav-divider"></li>
168
-
169
- <li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: trash"></span> Item</a></li>
170
-
171
- </ul>
172
-
173
- </div>
174
-
175
- </div>
176
-
177
-
178
-
179
-
180
-
181
- @endsection
182
-
183
- ```
184
-
185
-
186
-
187
- ```index
188
-
189
- @extends('layouts.default')
190
-
191
-
192
-
193
- @section('keywords', 'A,B,C')
194
-
195
- @section('description', '説明文')
196
-
197
- @section('title', 'test| あああああ')
198
-
199
-
200
-
201
- @include('layouts.head')
202
-
203
- @include('layouts.uikit-header')
204
-
205
-
206
-
207
- @section('content')
208
-
209
- <div class="uk-padding uk-text-center top-bg-color">
210
-
211
- <img data-src="{{ asset('/img/test-3.png') }}" alt="" uk-img>
212
-
213
- </div>
214
-
215
- <div class="uk-section-muted">
216
-
217
- <div class="uk-container uk-container-xsmall">
218
-
219
- <div class="loop-concept uk-padding">
220
-
221
- <p class="uk-heading-divider uk-text-center">おおおおおおおお</p>
222
-
223
- </div>
224
-
225
- <div class="uk-child-width-expand@s uk-text-center" uk-grid>
226
-
227
- <div>
228
-
229
- <div class="uk-card uk-card-default uk-card-body uk-margin-bottom border-box">
230
-
231
- <span class="border-box-title">いいいいいいい</span>
232
-
233
- <div class="uk-flex">
234
-
235
- <div class="uk-width-1-3 uk-flex-first">
236
-
237
- <img class="uk-width-small" src="{{ asset('/img/matueku.jpg') }}">
238
-
239
- </div>
240
-
241
- <div class="uk-width-2-3@">
242
-
243
- <div class="loop-menu-text-box">
244
-
245
- <span class="uk-text-bottom">おおおおおおおおお</span>
246
-
247
- <hr class="uk-divider-small">
248
-
249
- </div>
250
-
251
- </div>
252
-
253
- </div>
254
-
255
- <div>
256
-
257
- <p>おおおおおおおおおおお</p>
258
-
259
- </div>
260
-
261
- </div>
262
-
263
- </div>
264
-
265
- </div>
266
-
267
- </div>
268
-
269
- </div>
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
- @endsection
278
-
279
-
280
-
281
- @include('layouts.uikit-footer')
282
-
283
- ```
284
-
285
-
286
-
287
- ```footer
288
-
289
- @section('footer')
290
-
291
- <footer>
292
-
293
- <div class="uk-container uk-container-small uk-padding-small">
294
-
295
- <div class="uk-grid-small uk-child-width-expand@m" uk-grid>
296
-
297
- <div class="uk-margin-small-top">
298
-
299
- <div class="uk-cover-container uk-height-medium">
300
-
301
-
302
-
303
- </div>
304
-
305
- </div>
306
-
307
- <div>
308
-
309
- <div class="uk-padding-small">
310
-
311
- <ul class="uk-list addr-text-color">
312
-
313
- <li>【住所】<span class="uk-text-small">ああああああ</span> </li>
314
-
315
- <li>【駅から】<span class="uk-text-small">いいいいいい。</span></li>
316
-
317
- <li>【お車でお越し方】<span class="uk-text-small">うううううう</span> </li>
318
-
319
- </ul>
320
-
321
- <a class="uk-button uk-button-default" href="https://www.instagram.com/"><span class="uk-margin-small-right" uk-icon="instagram"></span>instagram</a>
322
-
323
- </div>
324
-
325
- </div>
326
-
327
-
328
-
329
- </div>
330
-
331
- </div>
332
-
333
-
334
-
335
- </footer>
336
-
337
-
338
-
339
-
340
-
341
- <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
342
-
343
- {{-- uikit --}}
344
-
345
- <script src="https://cdn.jsdelivr.net/npm/uikit@3.5.9/dist/js/uikit.min.js"></script>
346
-
347
- <script src="https://cdn.jsdelivr.net/npm/uikit@3.5.9/dist/js/uikit-icons.min.js"></script>
348
-
349
- <script src="{{ asset('/js/app.js') }}"></script>
350
-
351
- @endsection
352
-
353
-
354
-
355
- ```
356
-
357
- ```css
358
-
359
- @charset "UTF-8";
360
-
361
-
362
-
363
- .border-box {
364
-
365
- position: relative;
366
-
367
- margin: 2em 0;
368
-
369
- padding: 0.5em 1em;
370
-
371
- border: solid 1px black;
372
-
373
- .border-box-title {
374
-
375
- position: absolute;
376
-
377
- display: inline-block;
378
-
379
- top: -13px;
380
-
381
- left: 10px;
382
-
383
- padding: 0 9px;
384
-
385
- line-height: 1;
386
-
387
- font-size: 19px;
388
-
389
- background: #FFF;
390
-
391
- color: black;
392
-
393
- font-weight: bold;
394
-
395
- }
396
-
397
- p {
398
-
399
- margin: 0;
400
-
401
- padding: 0;
402
-
403
- }
404
-
405
- }
406
-
407
-
408
-
409
- header {
410
-
411
- nav {
412
-
413
- background-color: lightgray;
414
-
415
- height: 70px;
416
-
417
-
418
-
419
- }
420
-
421
- }
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
- .top-bg-color {
432
-
433
- background-color: lightgray;
434
-
435
- }
436
-
437
-
438
-
439
- footer {
440
-
441
- height: 100%;
442
-
443
- background-color: black;
444
-
445
- .addr-text-color {
446
-
447
- color: white;
448
-
449
- }
450
-
451
- }
452
-
453
-
454
-
455
-
456
-
457
- @media screen and (min-width:640px){
458
-
459
- .loop-menu-text-box {
460
-
461
- margin-top: 25px;
462
-
463
- }
464
-
465
- }
466
-
467
- @media screen and (min-width:960px){
468
-
469
-
470
-
471
- }
472
-
473
- @media screen and (min-width:1200px){
474
-
475
-
476
-
477
- }
478
-
479
-
480
-
481
- ```

3

homestaed バージョン追加

2020/11/08 12:56

投稿

ry0559
ry0559

スコア24

test CHANGED
File without changes
test CHANGED
@@ -10,11 +10,11 @@
10
10
 
11
11
  ・mac
12
12
 
13
- ・laravel  6
13
+ ・laravel   6
14
-
14
+
15
- ・homestead
15
+ ・homestead   9.6.1
16
-
16
+
17
- ・ngrok 2.3.35
17
+ ・ngrok  2.3.35
18
18
 
19
19
 
20
20
 

2

コードの追加

2020/11/08 07:10

投稿

ry0559
ry0559

スコア24

test CHANGED
File without changes
test CHANGED
@@ -41,3 +41,441 @@
41
41
  スマホで表示するには、何か設定が必要でしょうか?
42
42
 
43
43
  宜しくお願いします。
44
+
45
+
46
+
47
+ ```head
48
+
49
+
50
+
51
+ @section('head')
52
+
53
+ <meta charset="UTF-8">
54
+
55
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
56
+
57
+ <meta name="description" itemprop="description" content="@yield('description')">
58
+
59
+ <meta name="keywords" itemprop="keywords" content="@yield('keywords')">
60
+
61
+ <link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
62
+
63
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.5.9/dist/css/uikit.min.css" />
64
+
65
+ <link rel="stylesheet" href="{{ asset('/css/uikit-loop.css') }}">
66
+
67
+
68
+
69
+
70
+
71
+ <title>@yield('title')</title>
72
+
73
+ @endsection
74
+
75
+
76
+
77
+ ```
78
+
79
+
80
+
81
+ ```header
82
+
83
+ @section('header')
84
+
85
+ <header>
86
+
87
+ <div uk-sticky="sel-target: .uk-navbar-container; cls-active: uk-navbar-sticky">
88
+
89
+ <nav class="uk-navbar-container uk-navbar-transparent" uk-navbar>
90
+
91
+
92
+
93
+
94
+
95
+ <div class="uk-navbar-left uk-visible@m">
96
+
97
+ <ul class="uk-navbar-nav">
98
+
99
+ <li class="uk-active"><a href="">いいい</a></li>
100
+
101
+ <li class="uk-active"><a href="">ううう</a></li>
102
+
103
+ <li><a href=""></a></li>
104
+
105
+ </ul>
106
+
107
+ </div>
108
+
109
+
110
+
111
+ <div class="uk-navbar-right uk-visible@m">
112
+
113
+ <a class="uk-button uk-button-default uk-margin-small-right uk-button-secondary" href="https://www.instagram.com/">あああああ</a>
114
+
115
+ </div>
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+ {{-- nav mobile buton --}}
124
+
125
+ <div class="uk-navbar-right uk-hidden@m">
126
+
127
+ <a class="uk-navbar-toggle" uk-toggle="target: #offcanvas-nav" uk-navbar-toggle-icon href=""></a>
128
+
129
+ </div>
130
+
131
+ </nav>
132
+
133
+ </div>
134
+
135
+ </header>
136
+
137
+
138
+
139
+ <div id="offcanvas-nav" uk-offcanvas="overlay: true">
140
+
141
+ <div class="uk-offcanvas-bar">
142
+
143
+ <ul class="uk-nav uk-nav-default">
144
+
145
+ <li class="uk-active"><a href="#">Active</a></li>
146
+
147
+ <li class="uk-parent">
148
+
149
+ <a href="#">Parent</a>
150
+
151
+ <ul class="uk-nav-sub">
152
+
153
+ <li><a href="#">Sub item</a></li>
154
+
155
+ <li><a href="#">Sub item</a></li>
156
+
157
+ </ul>
158
+
159
+ </li>
160
+
161
+ <li class="uk-nav-header">Header</li>
162
+
163
+ <li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: table"></span> Item</a></li>
164
+
165
+ <li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: thumbnails"></span> Item</a></li>
166
+
167
+ <li class="uk-nav-divider"></li>
168
+
169
+ <li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: trash"></span> Item</a></li>
170
+
171
+ </ul>
172
+
173
+ </div>
174
+
175
+ </div>
176
+
177
+
178
+
179
+
180
+
181
+ @endsection
182
+
183
+ ```
184
+
185
+
186
+
187
+ ```index
188
+
189
+ @extends('layouts.default')
190
+
191
+
192
+
193
+ @section('keywords', 'A,B,C')
194
+
195
+ @section('description', '説明文')
196
+
197
+ @section('title', 'test| あああああ')
198
+
199
+
200
+
201
+ @include('layouts.head')
202
+
203
+ @include('layouts.uikit-header')
204
+
205
+
206
+
207
+ @section('content')
208
+
209
+ <div class="uk-padding uk-text-center top-bg-color">
210
+
211
+ <img data-src="{{ asset('/img/test-3.png') }}" alt="" uk-img>
212
+
213
+ </div>
214
+
215
+ <div class="uk-section-muted">
216
+
217
+ <div class="uk-container uk-container-xsmall">
218
+
219
+ <div class="loop-concept uk-padding">
220
+
221
+ <p class="uk-heading-divider uk-text-center">おおおおおおおお</p>
222
+
223
+ </div>
224
+
225
+ <div class="uk-child-width-expand@s uk-text-center" uk-grid>
226
+
227
+ <div>
228
+
229
+ <div class="uk-card uk-card-default uk-card-body uk-margin-bottom border-box">
230
+
231
+ <span class="border-box-title">いいいいいいい</span>
232
+
233
+ <div class="uk-flex">
234
+
235
+ <div class="uk-width-1-3 uk-flex-first">
236
+
237
+ <img class="uk-width-small" src="{{ asset('/img/matueku.jpg') }}">
238
+
239
+ </div>
240
+
241
+ <div class="uk-width-2-3@">
242
+
243
+ <div class="loop-menu-text-box">
244
+
245
+ <span class="uk-text-bottom">おおおおおおおおお</span>
246
+
247
+ <hr class="uk-divider-small">
248
+
249
+ </div>
250
+
251
+ </div>
252
+
253
+ </div>
254
+
255
+ <div>
256
+
257
+ <p>おおおおおおおおおおお</p>
258
+
259
+ </div>
260
+
261
+ </div>
262
+
263
+ </div>
264
+
265
+ </div>
266
+
267
+ </div>
268
+
269
+ </div>
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+ @endsection
278
+
279
+
280
+
281
+ @include('layouts.uikit-footer')
282
+
283
+ ```
284
+
285
+
286
+
287
+ ```footer
288
+
289
+ @section('footer')
290
+
291
+ <footer>
292
+
293
+ <div class="uk-container uk-container-small uk-padding-small">
294
+
295
+ <div class="uk-grid-small uk-child-width-expand@m" uk-grid>
296
+
297
+ <div class="uk-margin-small-top">
298
+
299
+ <div class="uk-cover-container uk-height-medium">
300
+
301
+
302
+
303
+ </div>
304
+
305
+ </div>
306
+
307
+ <div>
308
+
309
+ <div class="uk-padding-small">
310
+
311
+ <ul class="uk-list addr-text-color">
312
+
313
+ <li>【住所】<span class="uk-text-small">ああああああ</span> </li>
314
+
315
+ <li>【駅から】<span class="uk-text-small">いいいいいい。</span></li>
316
+
317
+ <li>【お車でお越し方】<span class="uk-text-small">うううううう</span> </li>
318
+
319
+ </ul>
320
+
321
+ <a class="uk-button uk-button-default" href="https://www.instagram.com/"><span class="uk-margin-small-right" uk-icon="instagram"></span>instagram</a>
322
+
323
+ </div>
324
+
325
+ </div>
326
+
327
+
328
+
329
+ </div>
330
+
331
+ </div>
332
+
333
+
334
+
335
+ </footer>
336
+
337
+
338
+
339
+
340
+
341
+ <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
342
+
343
+ {{-- uikit --}}
344
+
345
+ <script src="https://cdn.jsdelivr.net/npm/uikit@3.5.9/dist/js/uikit.min.js"></script>
346
+
347
+ <script src="https://cdn.jsdelivr.net/npm/uikit@3.5.9/dist/js/uikit-icons.min.js"></script>
348
+
349
+ <script src="{{ asset('/js/app.js') }}"></script>
350
+
351
+ @endsection
352
+
353
+
354
+
355
+ ```
356
+
357
+ ```css
358
+
359
+ @charset "UTF-8";
360
+
361
+
362
+
363
+ .border-box {
364
+
365
+ position: relative;
366
+
367
+ margin: 2em 0;
368
+
369
+ padding: 0.5em 1em;
370
+
371
+ border: solid 1px black;
372
+
373
+ .border-box-title {
374
+
375
+ position: absolute;
376
+
377
+ display: inline-block;
378
+
379
+ top: -13px;
380
+
381
+ left: 10px;
382
+
383
+ padding: 0 9px;
384
+
385
+ line-height: 1;
386
+
387
+ font-size: 19px;
388
+
389
+ background: #FFF;
390
+
391
+ color: black;
392
+
393
+ font-weight: bold;
394
+
395
+ }
396
+
397
+ p {
398
+
399
+ margin: 0;
400
+
401
+ padding: 0;
402
+
403
+ }
404
+
405
+ }
406
+
407
+
408
+
409
+ header {
410
+
411
+ nav {
412
+
413
+ background-color: lightgray;
414
+
415
+ height: 70px;
416
+
417
+
418
+
419
+ }
420
+
421
+ }
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+ .top-bg-color {
432
+
433
+ background-color: lightgray;
434
+
435
+ }
436
+
437
+
438
+
439
+ footer {
440
+
441
+ height: 100%;
442
+
443
+ background-color: black;
444
+
445
+ .addr-text-color {
446
+
447
+ color: white;
448
+
449
+ }
450
+
451
+ }
452
+
453
+
454
+
455
+
456
+
457
+ @media screen and (min-width:640px){
458
+
459
+ .loop-menu-text-box {
460
+
461
+ margin-top: 25px;
462
+
463
+ }
464
+
465
+ }
466
+
467
+ @media screen and (min-width:960px){
468
+
469
+
470
+
471
+ }
472
+
473
+ @media screen and (min-width:1200px){
474
+
475
+
476
+
477
+ }
478
+
479
+
480
+
481
+ ```

1

文法の修正

2020/11/08 06:23

投稿

ry0559
ry0559

スコア24

test CHANGED
File without changes
test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  ・ローカル環境(vagrant)では正常に表示される
26
26
 
27
- ・ngrokで生成されたURL(http)をmacのブラウザ(chrome・Safari)では正常に表示される(http)
27
+ ・ngrokで生成されたURL(http)をmacのブラウザ(chrome・Safari)では正常に表示される
28
28
 
29
29
  ・ngrokで生成されたURL(http)をiPhoneのブラウザ(chrome・Safari)ではcss・画像が表示されない
30
30