質問編集履歴

1

修正

2021/11/09 10:58

投稿

pay_561
pay_561

スコア26

test CHANGED
File without changes
test CHANGED
@@ -1,559 +1,33 @@
1
- inde.css
2
-
3
1
  ```ここに言語を入力
4
2
 
5
- @import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap");
3
+ .close {
6
4
 
5
+ position: absolute;
7
6
 
7
+ top: 15px;
8
8
 
9
- $red: #ff3838;
9
+ right: 35px;
10
10
 
11
- $white: #fff;
11
+ color: $white;
12
12
 
13
- $black: #000;
13
+ font-size: 40px;
14
14
 
15
- $red-one: #cb356b;
15
+ font-weight: 900;
16
16
 
17
- $red-two: #bd3f32;
17
+ transition: 0.3s;
18
18
 
19
- $green-one: #56ab2f;
19
+ &:hover,
20
20
 
21
- $green-two: #94d049;
21
+ focus {
22
22
 
23
- $black-one: #232526;
23
+ color: $silver;
24
24
 
25
- $black-two: #70767b;
25
+ text-decoration: none;
26
26
 
27
- $blue-one: #021b79;
28
-
29
- $blue-two: #0575e6;
30
-
31
- $silver: #bdc3c7;
32
-
33
-
34
-
35
- * {
36
-
37
- margin: 0;
38
-
39
- padding: 0;
40
-
41
- box-sizing: border-box;
42
-
43
- font-family: "Lato", sans-serif;
44
-
45
-
46
-
47
- html,
48
-
49
- body {
50
-
51
- height: 100vh;
52
-
53
- overflow: hidden;
54
-
55
-
56
-
57
- .slider {
58
-
59
- overflow: hidden;
60
-
61
- height: 500%;
62
-
63
-
64
-
65
- .row {
66
-
67
- display: flex;
68
-
69
- flex-wrap: wrap;
70
-
71
- flex-direction: row;
72
-
73
- &:after,
74
-
75
- &:before {
76
-
77
- box-sizing: border-box;
78
-
79
- }
80
-
81
-
82
-
83
- .col-6 {
84
-
85
- width: 50%;
86
-
87
- position: relative;
88
-
89
- }
90
-
91
-
92
-
93
- .img-col {
94
-
95
- border-bottom-left-radius: 100%;
96
-
97
- }
98
-
99
-
100
-
101
- .fullheight {
102
-
103
- height: 100vh;
104
-
105
- }
106
-
107
-
108
-
109
- //Left
110
-
111
- .left {
112
-
113
- .product-info {
114
-
115
- position: absolute;
116
-
117
- top: 50%;
118
-
119
- left: 50%;
120
-
121
- transform: translate(-50%, -50%);
122
-
123
- width: 100%;
124
-
125
- padding: 0 10%;
126
-
127
- color: $black-two;
128
-
129
-
130
-
131
- .info-wrapper {
132
-
133
- margin: auto;
134
-
135
- position: relative;
136
-
137
- text-align: right;
138
-
139
-
140
-
141
- .product-price {
142
-
143
- font-weight: 900;
144
-
145
- font-size: xx-large;
146
-
147
- color: $black;
148
-
149
-
150
-
151
- span {
152
-
153
- font-size: large;
154
-
155
- color: $black-two;
156
-
157
- }
158
-
159
- }
160
-
161
-
162
-
163
- .product-name {
164
-
165
- h2 {
166
-
167
- font-weight: 900;
168
-
169
- font-size: xxx-large;
170
-
171
- color: $black;
172
-
173
- }
174
-
175
- }
176
-
177
-
178
-
179
- .product-size {
180
-
181
- margin: 20px 0;
182
-
183
-
184
-
185
- .size-wrapper {
186
-
187
- display: flex;
188
-
189
- flex-flow: row-reverse;
190
-
191
- padding: 5px;
192
-
193
-
194
-
195
- div {
196
-
197
- font-weight: 900;
198
-
199
- margin: 5px;
200
-
201
- width: 50px;
202
-
203
- height: 50px;
204
-
205
- border-radius: 50%;
206
-
207
- padding: 13px;
208
-
209
- border: 2px solid $silver;
210
-
211
- color: $silver;
212
-
213
-
214
-
215
- &:hover {
216
-
217
- border: 2px solid $black;
218
-
219
- color: $black;
220
-
221
- cursor: pointer;
27
+ cursor: pointer;
222
-
223
- }
224
-
225
- }
226
-
227
-
228
-
229
- .active {
230
-
231
- border: 2px solid $black;
232
-
233
- color: $black;
234
-
235
- }
236
-
237
- }
238
-
239
- }
240
-
241
-
242
-
243
- .product-color {
244
-
245
- .color-wrapper {
246
-
247
- display: flex;
248
-
249
- flex-flow: row-reverse;
250
-
251
- padding: 5px;
252
-
253
-
254
-
255
- .color-pallet {
256
-
257
- margin: 5px;
258
-
259
- width: 50px;
260
-
261
- height: 50px;
262
-
263
- border-radius: 50%;
264
-
265
- padding: 3px;
266
-
267
- border: 2px solid $silver;
268
-
269
- background-color: $silver;
270
-
271
- &:hover {
272
-
273
- cursor: pointer;
274
-
275
- border: 2px solid $black;
276
-
277
- }
278
-
279
-
280
-
281
- .color {
282
-
283
- width: 40px;
284
-
285
- height: 40px;
286
-
287
- border-radius: 50%;
288
-
289
- }
290
-
291
- .bg-red {
292
-
293
- background-color: $red;
294
-
295
- }
296
-
297
- .bg-blue {
298
-
299
- background-color: $blue-one;
300
-
301
- }
302
-
303
- .bg-white {
304
-
305
- background-color: $white;
306
-
307
- }
308
-
309
- }
310
-
311
- .active {
312
-
313
- border: 2px solid $black;
314
-
315
- }
316
-
317
- }
318
-
319
- }
320
-
321
-
322
-
323
- .product-description {
324
-
325
- margin: 60px 0;
326
-
327
- text-align: justify;
328
-
329
- font-weight: 600;
330
-
331
- }
332
-
333
-
334
-
335
- .button {
336
-
337
- button {
338
-
339
- font-weight: 900;
340
-
341
- font-size: x-large;
342
-
343
- padding: 15px 60px;
344
-
345
- border-radius: 30px;
346
-
347
- border: 2px solid $black;
348
-
349
- background-color: $white;
350
-
351
- color: $black;
352
-
353
- transition: 0.5s;
354
-
355
- &:hover {
356
-
357
- cursor: pointer;
358
-
359
- background-color: $black;
360
-
361
- color: $white;
362
-
363
- }
364
-
365
- }
366
-
367
- }
368
-
369
- }
370
28
 
371
29
  }
372
30
 
373
31
  }
374
32
 
375
-
376
-
377
- //Right
378
-
379
- .right {
380
-
381
- .product-img {
382
-
383
- position: absolute;
384
-
385
- top: 50%;
386
-
387
- left: 50%;
388
-
389
- transform: translate(-50%, -50%);
390
-
391
- width: 100%;
392
-
393
-
394
-
395
- .img-wrapper {
396
-
397
- .bounce {
398
-
399
- img {
400
-
401
- height: auto;
402
-
403
- width: 80%;
404
-
405
- transform: rotate(-35deg);
406
-
407
- }
408
-
409
- }
410
-
411
- }
412
-
413
- }
414
-
415
-
416
-
417
- .more-images {
418
-
419
- position: absolute;
420
-
421
- right: 90px;
422
-
423
- top: 50%;
424
-
425
-
426
-
427
- .more-images-item {
428
-
429
- height: fit-content;
430
-
431
- border-radius: 15px;
432
-
433
- background-color: #fff;
434
-
435
- overflow: hidden;
436
-
437
- margin: 5px 0;
438
-
439
- &:hover {
440
-
441
- cursor: pointer;
442
-
443
- }
444
-
445
-
446
-
447
- img {
448
-
449
- height: auto;
450
-
451
- width: 80px;
452
-
453
- border-radius: 15px;
454
-
455
- transition: 1s;
456
-
457
- &:hover {
458
-
459
- transform: scale(1.5);
460
-
461
- }
462
-
463
- }
464
-
465
- }
466
-
467
- }
468
-
469
- }
470
-
471
- }
472
-
473
-
474
-
475
- .slide-control {
476
-
477
- display: flex;
478
-
479
- padding: 5px;
480
-
481
- position: absolute;
482
-
483
- bottom: 0;
484
-
485
- left: 50%;
486
-
487
- transform: translateX(-50%);
488
-
489
-
490
-
491
- .slide-control-item {
492
-
493
- height: 50px;
494
-
495
- width: 50px;
496
-
497
- margin: 10px;
498
-
499
- transition: 0.5s;
500
-
501
- &:hover {
502
-
503
- cursor: pointer;
504
-
505
- transform: translateY(-30px);
506
-
507
- border-bottom: 2px solid $black;
508
-
509
- }
510
-
511
-
512
-
513
- img {
514
-
515
- height: auto;
516
-
517
- width: 100%;
518
-
519
- filter: grayscale(100%);
520
-
521
- transform: rotate(-45deg);
522
-
523
- &:hover {
524
-
525
- filter: unset;
526
-
527
- }
528
-
529
-
530
-
531
- .active {
532
-
533
- filter: unset;
534
-
535
- }
536
-
537
- }
538
-
539
-
540
-
541
- .active {
542
-
543
- border-bottom: 2px solid $black;
544
-
545
- }
546
-
547
- }
548
-
549
- }
550
-
551
- }
552
-
553
- }
554
-
555
- }
556
-
557
-
558
-
559
33
  ```