質問編集履歴

5

削除された内容の復元を行いました

2020/09/23 08:50

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- None None None
1
+ jQueryプラグイン"shuffle.js"を用いたAND検索の実装について
test CHANGED
@@ -1,5 +1,441 @@
1
- None None None None None
2
-
3
- None None None None None
4
-
5
- None None None None None
1
+ ### jQueryプラグイン"shuffle.js"を用いたAND検索の実装について
2
+
3
+ 記事を設定したラベルでフィルタリングするページを作成しています。
4
+
5
+ 例えばラベルAとラベルB,両方の属性を持つを絞りたいといった感じです。
6
+
7
+ ラベルAだけといった単一のラベルを用いた絞り込みはできているのですが,2つ以上のラベルの実装で行き詰まっています
8
+
9
+ ### 二つ目のボタンを押すとそれ以前に押したラベルのアクティブ状態がクリアされる
10
+
11
+ ```
12
+
13
+ <script>
14
+
15
+ $(function() {
16
+
17
+ //ボタンが押されたときの処理
18
+
19
+ $('#btn li').on('click', function() {
20
+
21
+ var $this = $(this),
22
+
23
+ $grid = $('#animationList');
24
+
25
+ $('#btn .active').removeClass('active')
26
+
27
+ $this.addClass('active');
28
+
29
+ $grid.shuffle($this.data('group'));
30
+
31
+ });
32
+
33
+ $('#animationList').shuffle({
34
+
35
+ group: 'all',
36
+
37
+ speed: 700,
38
+
39
+ easing: 'ease-in-out'
40
+
41
+ });
42
+
43
+ });
44
+
45
+ </script>
46
+
47
+ ```
48
+
49
+ ### HTML
50
+
51
+ ```HTML
52
+
53
+ </head>
54
+
55
+ <body>
56
+
57
+ <div id="wrapper">
58
+
59
+ <h1>Search Field</h1>
60
+
61
+ <ul id="btn">
62
+
63
+ <li data-group="health" name="health" id="health"># Health Care</li>
64
+
65
+ <li data-group="learning" name="learning" id="learning"># Learning / Optimization</li>
66
+
67
+ <li data-group="stim" name="stim" id="stim"># Electrical Stimulation</li>
68
+
69
+ </ul>
70
+
71
+ <ul id="btn">
72
+
73
+ <li data-group="robot" name="robot" id="robot"># Robotics</li>
74
+
75
+ <li data-group="vrar" name="vrar" id="vrar"># VR / AR</li>
76
+
77
+ <li data-group="autonomous" name="autonomous" id="autonomous"># Autonomous Control</li>
78
+
79
+ </ul>
80
+
81
+ <ul id="btn">
82
+
83
+ <li data-group="ah" name="ah" id="ah"># Human Augumentation</li>
84
+
85
+ <li data-group="is" name="is" id="is"># Real Work Space</li>
86
+
87
+ <li data-group="sc" name="sc" id="sc"># Smart Charging</li>
88
+
89
+ </ul>
90
+
91
+ </br>
92
+
93
+ </br>
94
+
95
+ <h1>Our Research</h1>
96
+
97
+ </hr>
98
+
99
+ </br>
100
+
101
+ </br>
102
+
103
+ <ul id="animationList" style="position: relative; transition: height 700ms ease-in-out 0s; height: 720px;">
104
+
105
+ <li data-groups="[&quot;health&quot;,&quot;ah&quot;,&quot;stim&quot;,&quot;vrar&quot;]" class="filtered" data-x="0" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事A</span></li>
106
+
107
+ <li data-groups="[&quot;learning&quot;,&quot;ah&quot;,&quot;stim&quot;,&quot;vrar&quot;]" class="filtered" data-x="240" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">Motionless</span></li>
108
+
109
+ <li data-groups="[&quot;is&quot;,&quot;ah&quot;,&quot;vrar&quot;]" class="filtered" data-x="480" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(480px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事B</span></li>
110
+
111
+ <li data-groups="[&quot;ah&quot;,&quot;vrar&quot;]" class="filtered" data-x="720" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(720px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事C</span></li>
112
+
113
+ <li data-groups="[&quot;learning&quot;,&quot;health&quot;,&quot;ah&quot;,&quot;stim&quot;]" class="filtered" data-x="0" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事D</span></li>
114
+
115
+ <li data-groups="[&quot;is&quot;,&quot;learning&quot;,&quot;health&quot;]" class="filtered" data-x="240" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事E</span></li>
116
+
117
+ <li data-groups="[&quot;robot&quot;,&quot;is&quot;,&quot;learning&quot;]" class="filtered" data-x="480" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(480px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事F</span></li>
118
+
119
+ <li data-groups="[&quot;sc&quot;,&quot;autonomous&quot;,&quot;robot&quot;,&quot;is&quot;]" class="filtered" data-x="720" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(720px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事G</span></li>
120
+
121
+ <li data-groups="[&quot;sc&quot;,&quot;autonomous&quot;,&quot;learning&quot;]" class="filtered" data-x="0" data-y="480" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 480px, 0px) scale3d(1, 1, 1);"><span class="grey">記事H</span></li>
122
+
123
+ <li data-groups="[&quot;sc&quot;,&quot;autonomous&quot;,&quot;is&quot;]" class="filtered" data-x="240" data-y="480" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 480px, 0px) scale3d(1, 1, 1);"><span class="grey">記事I</span></li>
124
+
125
+ </ul>
126
+
127
+ </div>
128
+
129
+ </body></html>
130
+
131
+ ```
132
+
133
+ ### CSS
134
+
135
+ ```CSS
136
+
137
+ /* html5
138
+
139
+ ---------------------------------------------------------------*/
140
+
141
+ article,
142
+
143
+ aside,
144
+
145
+ details,
146
+
147
+ figcaption,
148
+
149
+ figure,
150
+
151
+ footer,
152
+
153
+ header,
154
+
155
+ hgroup,
156
+
157
+ menu,
158
+
159
+ nav,
160
+
161
+ section {
162
+
163
+ display: block;
164
+
165
+ margin: 0;
166
+
167
+ padding: 0;
168
+
169
+ }
170
+
171
+ body {
172
+
173
+ background-color: #f6f6f6;
174
+
175
+ }
176
+
177
+ #wrapper {
178
+
179
+ width: 1360px;
180
+
181
+ margin: 0 auto;
182
+
183
+ color: #7d7d7d;
184
+
185
+ padding-top: 30px;
186
+
187
+ padding-bottom: 60px;
188
+
189
+ }
190
+
191
+ h1 {
192
+
193
+ margin: 50px 0 70px;
194
+
195
+ }
196
+
197
+ .alpha {
198
+
199
+ display: inline-block\9;
200
+
201
+ zoom: 1;
202
+
203
+ line-height: 1;
204
+
205
+ }
206
+
207
+ .alpha:hover {
208
+
209
+ opacity: 0.9;
210
+
211
+ filter: alpha(opacity=70);
212
+
213
+ }
214
+
215
+ .active {
216
+
217
+ background-color: #EEEEEE;
218
+
219
+ color:#ff8c00;
220
+
221
+ }
222
+
223
+ #btn {
224
+
225
+ overflow: hidden;
226
+
227
+ margin-top: 50px;
228
+
229
+ margin-bottom: 40px;
230
+
231
+ display: : inline-block;
232
+
233
+ font-size: 22px;
234
+
235
+ cursor: pointer;
236
+
237
+ }
238
+
239
+ #btn li {
240
+
241
+ float: left;
242
+
243
+ margin: 10px;
244
+
245
+ cursor: pointer;
246
+
247
+ border: solid;
248
+
249
+ border-width: 2px;
250
+
251
+ padding: 10px;
252
+
253
+ box-shadow: 2px 2px 4px #808080;
254
+
255
+ }
256
+
257
+ #animationList {
258
+
259
+ overflow: hidden;
260
+
261
+ }
262
+
263
+ #animationList li {
264
+
265
+ width: 390px;
266
+
267
+ height: 390px;
268
+
269
+ padding: 10px;
270
+
271
+ float: left;
272
+
273
+ color: #fff;
274
+
275
+ }
276
+
277
+ #animationList li span {
278
+
279
+ display: block;
280
+
281
+ width: 360px;
282
+
283
+ height: 340px;
284
+
285
+ padding: 20px;
286
+
287
+ }
288
+
289
+ .box_image{
290
+
291
+ height: 220px;
292
+
293
+ overflow-x: hidden;
294
+
295
+ overflow-y: hidden;
296
+
297
+ }
298
+
299
+ .red {
300
+
301
+ background-color: #cf0000;
302
+
303
+ }
304
+
305
+ .blue {
306
+
307
+ background-color: #0208da;
308
+
309
+ }
310
+
311
+ .green {
312
+
313
+ background-color: #2baa08;
314
+
315
+ }
316
+
317
+ .yellow {
318
+
319
+ background-color: #e8ec04;
320
+
321
+ }
322
+
323
+ .grey{
324
+
325
+ background-color: #555555;
326
+
327
+ }
328
+
329
+ /* Reset
330
+
331
+ ------------------------------------------------------------*/
332
+
333
+ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, input, textarea, p, blockquote, th, td {
334
+
335
+ margin: 0;
336
+
337
+ padding: 0;
338
+
339
+ }
340
+
341
+ address, em, strong, th {
342
+
343
+ font-style: normal;
344
+
345
+ }
346
+
347
+ table {
348
+
349
+ border-collapse: collapse;
350
+
351
+ border-spacing: 0;
352
+
353
+ }
354
+
355
+ th {
356
+
357
+ text-align: left;
358
+
359
+ }
360
+
361
+ hr, legend {
362
+
363
+ display: none;
364
+
365
+ }
366
+
367
+ h1, h2, h3, h4, h5, h6 {
368
+
369
+ font-size: 100%;
370
+
371
+ }
372
+
373
+ img {
374
+
375
+ border: 0;
376
+
377
+ vertical-align: middle;
378
+
379
+ }
380
+
381
+ li {
382
+
383
+ list-style-type: none;
384
+
385
+ }
386
+
387
+ /* Fonts
388
+
389
+ ------------------------------------------------------------*/
390
+
391
+ body {
392
+
393
+ font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"MS Pゴシック","MS PGothic",Arial,Helvetica,Verdana,sans-serif;
394
+
395
+ line-height: 1.5;
396
+
397
+ color: #313131;
398
+
399
+ }
400
+
401
+ /* clearfix
402
+
403
+ ------------------------------------------------------------*/
404
+
405
+ .clearfix:after {
406
+
407
+ content: "";
408
+
409
+ display: block;
410
+
411
+ font-size: 0;
412
+
413
+ visibility: hidden;
414
+
415
+ height: 0;
416
+
417
+ clear: both;
418
+
419
+ }
420
+
421
+ /* clearfix for IE7 */
422
+
423
+ .clearfix {
424
+
425
+ display: inline-block;
426
+
427
+ }
428
+
429
+ .clearfix {
430
+
431
+ display: block;
432
+
433
+ }
434
+
435
+ ```
436
+
437
+ ### 参考サイト
438
+
439
+ 元のコードは以下のサイトから引っ張ってきました。
440
+
441
+ [N - log.net](http://www.n--log.net/demo/animation-sort-shuffle.html)

4

None

2020/09/23 08:50

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- jQueryプラグイン"shuffle.js"を用いたAND検索の実装について
1
+ None None None
test CHANGED
File without changes

3

削除

2020/09/23 06:31

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -1,525 +1,5 @@
1
- ### jQueryプラグイン"shuffle.js"を用いたAND検索の実装について
1
+ None None None None None
2
2
 
3
+ None None None None None
3
4
 
4
-
5
- 記事を設定したラベルでフィルタリングするページを作成しています。
6
-
7
- 例えばラベルAとラベルB,両方の属性を持つを絞りたいといった感じです。
8
-
9
- ラベルAだけといった単一のラベルを用いた絞り込みはできているのですが,2つ以上のラベルの実装で行き詰まっています
10
-
11
-
12
-
13
- ### 二つ目のボタンを押すとそれ以前に押したラベルのアクティブ状態がクリアされる
14
-
15
- ```
16
-
17
- <script>
18
-
19
- $(function() {
20
-
21
- //ボタンが押されたときの処理
22
-
23
- $('#btn li').on('click', function() {
24
-
25
- var $this = $(this),
26
-
27
- $grid = $('#animationList');
28
-
29
-
30
-
31
- $('#btn .active').removeClass('active')
32
-
33
- $this.addClass('active');
34
-
35
- $grid.shuffle($this.data('group'));
36
-
37
-
38
-
39
- });
40
-
41
-
42
-
43
- $('#animationList').shuffle({
44
-
45
- group: 'all',
46
-
47
- speed: 700,
48
-
49
- easing: 'ease-in-out'
50
-
51
- });
52
-
53
- });
54
-
55
- </script>
56
-
57
- ```
58
-
59
-
60
-
61
- ### HTML
62
-
63
-
64
-
65
- ```HTML
66
-
67
- </head>
68
-
69
- <body>
70
-
71
-
72
-
73
- <div id="wrapper">
74
-
75
- <h1>Search Field</h1>
76
-
77
- <ul id="btn">
78
-
79
- <li data-group="health" name="health" id="health"># Health Care</li>
80
-
81
- <li data-group="learning" name="learning" id="learning"># Learning / Optimization</li>
82
-
83
- <li data-group="stim" name="stim" id="stim"># Electrical Stimulation</li>
84
-
85
- </ul>
86
-
87
- <ul id="btn">
88
-
89
- <li data-group="robot" name="robot" id="robot"># Robotics</li>
90
-
91
- <li data-group="vrar" name="vrar" id="vrar"># VR / AR</li>
92
-
93
- <li data-group="autonomous" name="autonomous" id="autonomous"># Autonomous Control</li>
94
-
95
- </ul>
96
-
97
- <ul id="btn">
98
-
99
- <li data-group="ah" name="ah" id="ah"># Human Augumentation</li>
100
-
101
- <li data-group="is" name="is" id="is"># Real Work Space</li>
102
-
103
- <li data-group="sc" name="sc" id="sc"># Smart Charging</li>
104
-
105
- </ul>
106
-
107
- </br>
108
-
109
- </br>
110
-
111
- <h1>Our Research</h1>
112
-
113
- </hr>
114
-
115
- </br>
116
-
117
- </br>
118
-
119
-
120
-
121
- <ul id="animationList" style="position: relative; transition: height 700ms ease-in-out 0s; height: 720px;">
122
-
123
- <li data-groups="[&quot;health&quot;,&quot;ah&quot;,&quot;stim&quot;,&quot;vrar&quot;]" class="filtered" data-x="0" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事A</span></li>
124
-
125
- <li data-groups="[&quot;learning&quot;,&quot;ah&quot;,&quot;stim&quot;,&quot;vrar&quot;]" class="filtered" data-x="240" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">Motionless</span></li>
126
-
127
- <li data-groups="[&quot;is&quot;,&quot;ah&quot;,&quot;vrar&quot;]" class="filtered" data-x="480" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(480px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事B</span></li>
128
-
129
- <li data-groups="[&quot;ah&quot;,&quot;vrar&quot;]" class="filtered" data-x="720" data-y="0" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(720px, 0px, 0px) scale3d(1, 1, 1);"><span class="grey">記事C</span></li>
130
-
131
- <li data-groups="[&quot;learning&quot;,&quot;health&quot;,&quot;ah&quot;,&quot;stim&quot;]" class="filtered" data-x="0" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事D</span></li>
132
-
133
- <li data-groups="[&quot;is&quot;,&quot;learning&quot;,&quot;health&quot;]" class="filtered" data-x="240" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事E</span></li>
134
-
135
- <li data-groups="[&quot;robot&quot;,&quot;is&quot;,&quot;learning&quot;]" class="filtered" data-x="480" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(480px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事F</span></li>
136
-
137
- <li data-groups="[&quot;sc&quot;,&quot;autonomous&quot;,&quot;robot&quot;,&quot;is&quot;]" class="filtered" data-x="720" data-y="240" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(720px, 240px, 0px) scale3d(1, 1, 1);"><span class="grey">記事G</span></li>
138
-
139
- <li data-groups="[&quot;sc&quot;,&quot;autonomous&quot;,&quot;learning&quot;]" class="filtered" data-x="0" data-y="480" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(0px, 480px, 0px) scale3d(1, 1, 1);"><span class="grey">記事H</span></li>
140
-
141
- <li data-groups="[&quot;sc&quot;,&quot;autonomous&quot;,&quot;is&quot;]" class="filtered" data-x="240" data-y="480" style="position: absolute; top: 0px; left: 0px; opacity: 1; transition: transform 700ms ease-in-out 0s, opacity 700ms ease-in-out 0s; margin-top: 0px; margin-right: 0px; transform: translate3d(240px, 480px, 0px) scale3d(1, 1, 1);"><span class="grey">記事I</span></li>
142
-
143
- </ul>
144
-
145
- </div>
146
-
147
- </body></html>
148
-
149
-
150
-
151
- ```
152
-
153
-
154
-
155
- ### CSS
156
-
157
- ```CSS
158
-
159
- /* html5
160
-
161
- ---------------------------------------------------------------*/
162
-
163
- article,
164
-
165
- aside,
166
-
167
- details,
168
-
169
- figcaption,
170
-
171
- figure,
172
-
173
- footer,
174
-
175
- header,
176
-
177
- hgroup,
178
-
179
- menu,
180
-
181
- nav,
182
-
183
- section {
184
-
185
- display: block;
186
-
187
- margin: 0;
188
-
189
- padding: 0;
190
-
191
- }
192
-
193
-
194
-
195
- body {
196
-
197
- background-color: #f6f6f6;
198
-
199
- }
200
-
201
-
202
-
203
- #wrapper {
204
-
205
- width: 1360px;
206
-
207
- margin: 0 auto;
208
-
209
- color: #7d7d7d;
210
-
211
- padding-top: 30px;
212
-
213
- padding-bottom: 60px;
214
-
215
- }
216
-
217
-
218
-
219
- h1 {
220
-
221
- margin: 50px 0 70px;
222
-
223
- }
224
-
225
-
226
-
227
- .alpha {
228
-
229
- display: inline-block\9;
230
-
231
- zoom: 1;
232
-
233
- line-height: 1;
234
-
235
- }
236
-
237
-
238
-
239
- .alpha:hover {
240
-
241
- opacity: 0.9;
242
-
243
- filter: alpha(opacity=70);
244
-
245
- }
246
-
247
-
248
-
249
- .active {
250
-
251
- background-color: #EEEEEE;
252
-
253
- color:#ff8c00;
254
-
255
- }
256
-
257
-
258
-
259
- #btn {
260
-
261
- overflow: hidden;
262
-
263
- margin-top: 50px;
264
-
265
- margin-bottom: 40px;
266
-
267
- display: : inline-block;
268
-
269
- font-size: 22px;
270
-
271
- cursor: pointer;
272
-
273
-
274
-
275
- }
276
-
277
-
278
-
279
- #btn li {
280
-
281
- float: left;
282
-
283
- margin: 10px;
284
-
285
- cursor: pointer;
286
-
287
- border: solid;
288
-
289
- border-width: 2px;
290
-
291
- padding: 10px;
292
-
293
- box-shadow: 2px 2px 4px #808080;
294
-
295
- }
296
-
297
-
298
-
299
- #animationList {
300
-
301
- overflow: hidden;
302
-
303
- }
304
-
305
-
306
-
307
- #animationList li {
308
-
309
- width: 390px;
310
-
311
- height: 390px;
312
-
313
- padding: 10px;
314
-
315
- float: left;
316
-
317
- color: #fff;
318
-
319
- }
320
-
321
-
322
-
323
- #animationList li span {
324
-
325
- display: block;
326
-
327
- width: 360px;
328
-
329
- height: 340px;
330
-
331
- padding: 20px;
332
-
333
- }
334
-
335
-
336
-
337
- .box_image{
338
-
339
- height: 220px;
340
-
341
- overflow-x: hidden;
342
-
343
- overflow-y: hidden;
344
-
345
- }
346
-
347
-
348
-
349
- .red {
350
-
351
- background-color: #cf0000;
352
-
353
- }
354
-
355
-
356
-
357
- .blue {
358
-
359
- background-color: #0208da;
360
-
361
- }
362
-
363
-
364
-
365
- .green {
366
-
367
- background-color: #2baa08;
368
-
369
- }
370
-
371
-
372
-
373
- .yellow {
374
-
375
- background-color: #e8ec04;
376
-
377
- }
378
-
379
-
380
-
381
- .grey{
382
-
383
- background-color: #555555;
384
-
385
- }
386
-
387
- /* Reset
388
-
389
- ------------------------------------------------------------*/
390
-
391
- body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, input, textarea, p, blockquote, th, td {
392
-
393
- margin: 0;
394
-
395
- padding: 0;
396
-
397
- }
398
-
399
-
400
-
401
- address, em, strong, th {
402
-
403
- font-style: normal;
404
-
405
- }
406
-
407
-
408
-
409
- table {
410
-
411
- border-collapse: collapse;
412
-
413
- border-spacing: 0;
414
-
415
- }
416
-
417
-
418
-
419
- th {
420
-
421
- text-align: left;
422
-
423
- }
424
-
425
-
426
-
427
- hr, legend {
428
-
429
- display: none;
430
-
431
- }
432
-
433
-
434
-
435
- h1, h2, h3, h4, h5, h6 {
436
-
437
- font-size: 100%;
438
-
439
- }
440
-
441
-
442
-
443
- img {
444
-
445
- border: 0;
446
-
447
- vertical-align: middle;
448
-
449
- }
450
-
451
-
452
-
453
- li {
454
-
455
- list-style-type: none;
456
-
457
- }
458
-
459
-
460
-
461
- /* Fonts
462
-
463
- ------------------------------------------------------------*/
464
-
465
- body {
466
-
467
- font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"MS Pゴシック","MS PGothic",Arial,Helvetica,Verdana,sans-serif;
468
-
469
- line-height: 1.5;
470
-
471
- color: #313131;
472
-
473
- }
474
-
475
-
476
-
477
- /* clearfix
478
-
479
- ------------------------------------------------------------*/
480
-
481
- .clearfix:after {
482
-
483
- content: "";
484
-
485
- display: block;
486
-
487
- font-size: 0;
488
-
489
- visibility: hidden;
490
-
491
- height: 0;
492
-
493
- clear: both;
494
-
495
- }
496
-
497
-
498
-
499
- /* clearfix for IE7 */
500
-
501
- .clearfix {
502
-
503
- display: inline-block;
504
-
505
- }
506
-
507
-
508
-
509
- .clearfix {
510
-
511
- display: block;
512
-
513
- }
514
-
515
-
516
-
517
- ```
518
-
519
-
520
-
521
- ### 参考サイト
522
-
523
- 元のコードは以下のサイトから引っ張ってきました。
524
-
525
- [N - log.net](http://www.n--log.net/demo/animation-sort-shuffle.html)
5
+ None None None None None

2

画像の削除

2020/09/23 04:33

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -518,14 +518,6 @@
518
518
 
519
519
 
520
520
 
521
- ###実行画面
522
-
523
- ![![イメージ説明](4280919f5e75828129518669902d3a49.png)](c9e45a153f00b68af8704588a096ca95.png)
524
-
525
-
526
-
527
-
528
-
529
521
  ### 参考サイト
530
522
 
531
523
  元のコードは以下のサイトから引っ張ってきました。

1

実行画面の追加

2020/09/23 04:31

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -518,6 +518,12 @@
518
518
 
519
519
 
520
520
 
521
+ ###実行画面
522
+
523
+ ![![イメージ説明](4280919f5e75828129518669902d3a49.png)](c9e45a153f00b68af8704588a096ca95.png)
524
+
525
+
526
+
521
527
 
522
528
 
523
529
  ### 参考サイト