質問編集履歴

1

cssファイル追加

2020/02/18 06:00

投稿

pqtrick
pqtrick

スコア5

test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,15 @@
26
26
 
27
27
  ```html
28
28
 
29
+ .exhibition__upload__box
30
+
31
+ .exhibition__upload__box__head
32
+
33
+ 出品画像
34
+
35
+ %p.exhibition__upload__box__head__sub 最大4枚までアップロードできます
36
+
29
- .exhibition__upload__box__images
37
+ .exhibition__upload__box__images
30
38
 
31
39
  .exhibition__upload__box__image
32
40
 
@@ -58,13 +66,65 @@
58
66
 
59
67
  .file-picker
60
68
 
61
- %input{accept: "image/*", name: "image4", type: "file"}
69
+ %input{accept: "image/*", name: "image4",
62
70
 
63
71
 
64
72
 
65
73
  ```
66
74
 
67
75
 
76
+
77
+ ### cssコード
78
+
79
+ ```scss
80
+
81
+ .exhibition__upload__box{
82
+
83
+ height: 350px;
84
+
85
+ padding: 40px;
86
+
87
+ border-bottom: 2px solid rgb(245,245,245);
88
+
89
+ &__head{
90
+
91
+ font-size: 16px;
92
+
93
+ font-weight: 900;
94
+
95
+ &__sub{
96
+
97
+ font-size: 12px;;
98
+
99
+ }
100
+
101
+ }
102
+
103
+ &__images{
104
+
105
+ height: 200px;
106
+
107
+ display: flex;
108
+
109
+ justify-content: space-between;
110
+
111
+ margin-top: 10px;
112
+
113
+ }
114
+
115
+ &__image{
116
+
117
+ width: 24%;
118
+
119
+ border: 1px dotted gray;
120
+
121
+ background-color: rgb(245,245,245);
122
+
123
+ }
124
+
125
+ }
126
+
127
+ ```
68
128
 
69
129
  ### 試したこと
70
130