質問編集履歴
1
jQueryタグ追加、CSSソースの追記
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -133,4 +133,94 @@
|
|
|
133
133
|
});
|
|
134
134
|
});
|
|
135
135
|
|
|
136
|
+
```
|
|
137
|
+
-----以下追記------
|
|
138
|
+
```CSS
|
|
139
|
+
|
|
140
|
+
/* 基本設定 */
|
|
141
|
+
|
|
142
|
+
#works {
|
|
143
|
+
display: flex;
|
|
144
|
+
flex-wrap: wrap;
|
|
145
|
+
justify-content: space-between;
|
|
146
|
+
margin: 0 auto;
|
|
147
|
+
text-align: center;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* カテゴリー分け部分 */
|
|
151
|
+
|
|
152
|
+
.search_item {
|
|
153
|
+
display: inline-block;
|
|
154
|
+
cursor: pointer;
|
|
155
|
+
background: #7bc3d1;
|
|
156
|
+
color: #fff;
|
|
157
|
+
padding: 5px 12px;
|
|
158
|
+
margin: 0px 5px;
|
|
159
|
+
border-radius: 25px;
|
|
160
|
+
}
|
|
161
|
+
.search_item.is-active {
|
|
162
|
+
color: white;
|
|
163
|
+
background-color: black;
|
|
164
|
+
}
|
|
165
|
+
.search_item:hover {
|
|
166
|
+
opacity: 0.6;
|
|
167
|
+
transition-duration: 0.3s;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.is-hide {
|
|
171
|
+
display: none;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
#page {
|
|
175
|
+
width: 1380px;
|
|
176
|
+
margin: 0 auto;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.searchList {
|
|
180
|
+
margin-bottom: 20px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
.list {
|
|
185
|
+
overflow: hidden;
|
|
186
|
+
justify-content: center
|
|
187
|
+
}
|
|
188
|
+
.list li {
|
|
189
|
+
float: left;
|
|
190
|
+
width: 19%;
|
|
191
|
+
margin: 0px 5px 10px 5px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
#more {
|
|
196
|
+
display: none;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
#more_btn, #close_btn {
|
|
200
|
+
background-color: #7bc3d1;
|
|
201
|
+
color: #fff;
|
|
202
|
+
border: none;
|
|
203
|
+
cursor: pointer;
|
|
204
|
+
outline: none;
|
|
205
|
+
padding: 0;
|
|
206
|
+
height: 32px;
|
|
207
|
+
line-height: 32px;
|
|
208
|
+
width: 120px;
|
|
209
|
+
border-radius: 16px;
|
|
210
|
+
text-align: center;
|
|
211
|
+
margin: 0 auto;
|
|
212
|
+
margin-top: 35px;
|
|
213
|
+
z-index: 1;
|
|
214
|
+
clear: left;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.categories {
|
|
218
|
+
padding-bottom: 20px;
|
|
219
|
+
padding-top: 10px;
|
|
220
|
+
text-align: center;
|
|
221
|
+
}
|
|
222
|
+
.works-main {
|
|
223
|
+
display: flex;
|
|
224
|
+
flex-wrap: wrap;
|
|
225
|
+
}
|
|
136
226
|
```
|