-
Notifications
You must be signed in to change notification settings - Fork 0
/
adder2.html
543 lines (510 loc) · 20.4 KB
/
adder2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
<!DOCTYPE html>
<html>
<head>
<title>CSS 3 Animations are Turing Complete: Memory Controller</title>
<!--
a 1-bit memory controller has two bits that swap places once every full cycle
so instead of [ pause | 0 | 1 ]
it's [ pause' | 0' R/W [ pause | 0 R/W | 1 R/W ] | 1' R/W [ pause | 0 R/W | 1 R/W ] ]
essentially the "bit" becomes two bits
* swapping at half(?) the rate
* whenever the cursor is over any part of the dibit the halves stop moving?
* need to consider composibility, this should scale up to quadbits, octabits (bytes), etc
* read (copy from) the selected memory bit into a register bit
* from a register bit, write (copy to) the selected memory bit
* copying takes either a full overlapping cycle or a set to 0 half-cycle and a xor half-cycle
* set to 0 then xor is probably easier
* need to write from a register bit to an address bit as well
* [ pause' | [ pause 0 | 0 | 1 ]]
* [ <open> | [ pause 1 | 0 | 1 ]]
* pause' moves up and down, write it by holding a register bit over it
* now, composition
* 2 bit controller
* easiest is probably to have bits move on tick-tock,
address bit 0 (LSB) move ticktock-ticktock,
bit 1 (MSB) move ticktockticktock-ticktockticktock,
but that gets exponentially slower as size increases
so better is to start with MSB and move to LSB
MSB MSB-1 MSB-2...LSB+2 LSB+1 LSB are like "tabs" at the top or side
side works
what if instead of "pause" it's "go"?
that reduces the amount of ongoing animation *dramatically*
0go [ ] [ ] 1go
hover go-write transitions to
[ ] 0go 1go [ ]
again there's a read and a write
or even
MOVE write [ ]
MOVE read [ ]
hovering "MOVE" or "write" for one tick
MOVE [ ] write
MOVE [ ] read
that takes the sync out of it, hovering over a write for *at least* one tick makes it move and then immediately stop because it's not being hovered anymore
this gives us:
hover MOVE for one tick to toggle
write-0-if-1 | write-1-if-0
read-if-0 | read-if-1
AND
output's write-0-if-1 (left),
inputs' read-if-1 (right) over output's write-1-if-0 (right) 0: 0 0, 1: 0 1
NAND
output's write-1-if-0 (right),
inputs' read-if-1 (right) over output's write-0-if-1 (left) 0: 1 1, 1: 1 0
OR
output's write-1-if-0 (right),
inputs' read-if-0 (left) over output's write-0-if-1 (left) 0: 0 1, 1: 1 1
NOR
output's write-0-if-1 (left),
inputs' read-if-0 (left) over output's write-1-if-0 (right) 0: 1 0, 1: 0 0
XOR (NEQ)
output's write-1-if-0 (right),
inputs' read-if-1 (right) over output's write-0-if-1 (left) [NAND]
inputs' read-if-0 (left) over output's write-0-if-1 (left) [OR]
NXOR (EQ)
output's write-0-if-1 (left),
inputs' read-if-1 (right) over output's write-1-if-0 (right) [AND]
inputs' read-if-0 (left) over output's write-1-if-0 (right) [NOR]
SET 0
output's write-0-if-1 (left)
SET 1
output's write-1-if-0 (right)
COPY
SET 0 then XOR
SET 1 then NXOR
read-if-0 over write-0-if-1 then read-if-1 over write-1-if-0
Problem: Hovering MOVE for one "tick" is unreliable, and can result in
the bit remaining in the same place because it registered hovering for
0.99s (or 59/60s?) instead of 1s
Need a 100% reliable way to either flip a bit or set c=a^b
set output to 1,
inputs' read-if-1 over output's write-0-if-1 (NAND)
inputs' read-if-0 over output's write-0-if-1 (OR)
if both are 0 or both are 1, output = 0
if one is 0 and one is 1, c = 1
-->
<style>
:root {
--main-loop-duration: 100s;
--main-loop-delay: 3s;
--half-cycle-duration: 0.99s;
--full-cycle-duration: 1.98s;
--wiggle-duration: 2s;
--a-home: 25px;
--b-home: 100px;
--c-home: 175px;
--temp-1-home: 325px;
--temp-2-home: 400px;
--temp-3-home: 470px;
--sum-home: 625px;
--carry-home: 700px;
--box-width: 100px;
--box-height: 25px;
--active-move: 600px;
--active-left: calc(var(--active-move) - var(--box-width));
--active-right: calc(var(--active-move) - 2 * var(--box-width));
--accept-input-top: 500px;
--perform-output-top: calc(var(--accept-input-top) - var(--box-height));
--bit-left: var(--box-width);
--bit-right: calc(2 * var(--box-width));
--container-width: calc(3 * var(--box-width));
--container-height: calc(2 * var(--box-height));
--perform-output-z: 1000;
--accept-input-z: 500;
--write-0-if-1: var(--active-left);
--write-1-if-0: var(--active-right);
--read-from-if-0: var(--active-left);
--read-from-if-1: var(--active-right);
}
@keyframes a-path {
0% { left: var(--write-1-if-0); top: var(--accept-input-top); z-index: var(--accept-input-z); }
1% { left: 0; top: var(--a-home); z-index: 0; }
2% { left: 0; top: var(--a-home); z-index: 0; }
3% { left: 0; top: var(--a-home); z-index: 0; }
4% { left: 0; top: var(--a-home); z-index: 0; }
5% { left: 0; top: var(--a-home); z-index: 0; }
6% { left: 0; top: var(--a-home); z-index: 0; }
7% { left: 0; top: var(--a-home); z-index: 0; }
8% { left: 0; top: var(--a-home); z-index: 0; }
9% { left: var(--read-from-if-1); top: var(--perform-output-top); z-index: var(--perform-output-z); }
10% { left: var(--read-from-if-0); top: var(--perform-output-top); z-index: var(--perform-output-z); }
11% { left: 0; top: var(--a-home); z-index: 0; }
12% { left: 0; top: var(--a-home); z-index: 0; }
13% { left: 0; top: var(--a-home); z-index: 0; }
14% { left: 0; top: var(--a-home); z-index: 0; }
15% { left: var(--read-from-if-1); top: var(--perform-output-top); z-index: var(--perform-output-z); }
16% { left: 0; top: var(--a-home); z-index: 0; }
17% { left: 0; top: var(--a-home); z-index: 0; }
}
@keyframes b-path {
0% { left: 0; top: var(--b-home); z-index: 0; }
1% { left: var(--write-1-if-0); top: var(--accept-input-top); z-index: var(--accept-input-z); }
2% { left: 0; top: var(--b-home); z-index: 0; }
3% { left: 0; top: var(--b-home); z-index: 0; }
4% { left: 0; top: var(--b-home); z-index: 0; }
5% { left: 0; top: var(--b-home); z-index: 0; }
6% { left: 0; top: var(--b-home); z-index: 0; }
7% { left: 0; top: var(--b-home); z-index: 0; }
8% { left: 0; top: var(--b-home); z-index: 0; }
9% { left: var(--read-from-if-1); top: var(--perform-output-top); z-index: var(--perform-output-z); }
10% { left: var(--read-from-if-0); top: var(--perform-output-top); z-index: var(--perform-output-z); }
11% { left: 0; top: var(--b-home); z-index: 0; }
12% { left: 0; top: var(--b-home); z-index: 0; }
13% { left: 0; top: var(--b-home); z-index: 0; }
14% { left: 0; top: var(--b-home); z-index: 0; }
15% { left: var(--read-from-if-1); top: var(--perform-output-top); z-index: var(--perform-output-z); }
16% { left: 0; top: var(--b-home); z-index: 0; }
17% { left: 0; top: var(--b-home); z-index: 0; }
}
@keyframes c-path {
0% { left: 0; top: var(--c-home); z-index: 0; }
1% { left: 0; top: var(--c-home); z-index: 0; }
2% { left: var(--write-1-if-0); top: var(--accept-input-top); z-index: var(--accept-input-z); }
3% { left: 0; top: var(--c-home); z-index: 0; }
4% { left: 0; top: var(--c-home); z-index: 0; }
5% { left: 0; top: var(--c-home); z-index: 0; }
6% { left: 0; top: var(--c-home); z-index: 0; }
7% { left: 0; top: var(--c-home); z-index: 0; }
8% { left: 0; top: var(--c-home); z-index: 0; }
9% { left: 0; top: var(--c-home); z-index: 0; }
10% { left: 0; top: var(--c-home); z-index: 0; }
11% { left: 0; top: var(--c-home); z-index: 0; }
12% { left: var(--read-from-if-1); top: var(--perform-output-top); z-index: var(--perform-output-z); }
13% { left: var(--read-from-if-0); top: var(--perform-output-top); z-index: var(--perform-output-z); }
14% { left: var(--read-from-if-1); top: var(--perform-output-top); z-index: var(--perform-output-z); }
15% { left: 0; top: var(--c-home); z-index: 0; }
16% { left: 0; top: var(--c-home); z-index: 0; }
17% { left: 0; top: var(--c-home); z-index: 0; }
}
@keyframes temp-1-path {
0% { left: 0; top: var(--temp-1-home); z-index: 0; }
1% { left: 0; top: var(--temp-1-home); z-index: 0; }
2% { left: 0; top: var(--temp-1-home); z-index: 0; }
3% { left: var(--write-0-if-1); top: var(--accept-input-top); z-index: var(--accept-input-z); }
4% { left: 0; top: var(--temp-1-home); z-index: 0; }
5% { left: 0; top: var(--temp-1-home); z-index: 0; }
6% { left: 0; top: var(--temp-1-home); z-index: 0; }
7% { left: 0; top: var(--temp-1-home); z-index: 0; }
8% { left: var(--write-1-if-0); top: var(--accept-input-top); z-index: var(--accept-input-z); }
9% { left: var(--write-0-if-1); top: var(--accept-input-top); z-index: var(--accept-input-z); }
10% { left: var(--write-0-if-1); top: var(--accept-input-top); z-index: var(--accept-input-z); }
11% { left: 0; top: var(--temp-1-home); z-index: 0; }
12% { left: var(--read-from-if-1); top: var(--perform-output-top); z-index: var(--perform-output-z); }
13% { left: var(--read-from-if-0); top: var(--perform-output-top); z-index: var(--perform-output-z); }
14% { left: var(--read-from-if-1); top: var(--perform-output-top); z-index: var(--perform-output-z); }
15% { left: 0; top: var(--temp-1-home); z-index: 0; }
16% { left: 0; top: var(--temp-1-home); z-index: 0; }
17% { left: 0; top: var(--temp-1-home); z-index: 0; }
}
@keyframes temp-2-path {
0% { left: 0; top: var(--temp-2-home); z-index: 0; }
1% { left: 0; top: var(--temp-2-home); z-index: 0; }
2% { left: 0; top: var(--temp-2-home); z-index: 0; }
3% { left: 0; top: var(--temp-2-home); z-index: 0; }
4% { left: var(--write-0-if-1); top: var(--accept-input-top); z-index: var(--accept-input-z); }
5% { left: 0; top: var(--temp-2-home); z-index: 0; }
6% { left: 0; top: var(--temp-2-home); z-index: 0; }
7% { left: 0; top: var(--temp-2-home); z-index: 0; }
8% { left: 0; top: var(--temp-2-home); z-index: 0; }
9% { left: 0; top: var(--temp-2-home); z-index: 0; }
10% { left: 0; top: var(--temp-2-home); z-index: 0; }
11% { left: 0; top: var(--temp-2-home); z-index: 0; }
12% { left: 0; top: var(--temp-2-home); z-index: 0; }
13% { left: 0; top: var(--temp-2-home); z-index: 0; }
14% { left: var(--write-1-if-0); top: var(--accept-input-top); z-index: var(--accept-input-z); }
15% { left: 0; top: var(--temp-2-home); z-index: 0; }
16% { left: var(--read-from-if-0); top: var(--perform-output-top); z-index: var(--perform-output-z); }
17% { left: 0; top: var(--temp-2-home); z-index: 0; }
}
@keyframes temp-3-path {
0% { left: 0; top: var(--temp-3-home); z-index: 0; }
1% { left: 0; top: var(--temp-3-home); z-index: 0; }
2% { left: 0; top: var(--temp-3-home); z-index: 0; }
3% { left: 0; top: var(--temp-3-home); z-index: 0; }
4% { left: 0; top: var(--temp-3-home); z-index: 0; }
5% { left: var(--write-0-if-1); top: var(--accept-input-top); z-index: var(--accept-input-z); }
6% { left: 0; top: var(--temp-3-home); z-index: 0; }
7% { left: 0; top: var(--temp-3-home); z-index: 0; }
8% { left: 0; top: var(--temp-3-home); z-index: 0; }
9% { left: 0; top: var(--temp-3-home); z-index: 0; }
10% { left: 0; top: var(--temp-3-home); z-index: 0; }
11% { left: 0; top: var(--temp-3-home); z-index: 0; }
12% { left: 0; top: var(--temp-3-home); z-index: 0; }
13% { left: 0; top: var(--temp-3-home); z-index: 0; }
14% { left: 0; top: var(--temp-3-home); z-index: 0; }
15% { left: var(--write-1-if-0); top: var(--accept-input-top); z-index: var(--accept-input-z); }
16% { left: var(--read-from-if-0); top: var(--perform-output-top); z-index: var(--perform-output-z); }
17% { left: 0; top: var(--temp-3-home); z-index: 0; }
}
@keyframes sum-path {
0% { left: 0; top: var(--sum-home); z-index: 0; }
1% { left: 0; top: var(--sum-home); z-index: 0; }
2% { left: 0; top: var(--sum-home); z-index: 0; }
3% { left: 0; top: var(--sum-home); z-index: 0; }
4% { left: 0; top: var(--sum-home); z-index: 0; }
5% { left: 0; top: var(--sum-home); z-index: 0; }
6% { left: var(--write-0-if-1); top: var(--accept-input-top); z-index: var(--accept-input-z); }
7% { left: 0; top: var(--sum-home); z-index: 0; }
8% { left: 0; top: var(--sum-home); z-index: 0; }
9% { left: 0; top: var(--sum-home); z-index: 0; }
10% { left: 0; top: var(--sum-home); z-index: 0; }
11% { left: var(--write-1-if-0); top: var(--accept-input-top); z-index: var(--accept-input-z); }
12% { left: var(--write-0-if-1); top: var(--accept-input-top); z-index: var(--accept-input-z); }
13% { left: var(--write-0-if-1); top: var(--accept-input-top); z-index: var(--accept-input-z); }
14% { left: 0; top: var(--sum-home); z-index: 0; }
15% { left: 0; top: var(--sum-home); z-index: 0; }
16% { left: 0; top: var(--sum-home); z-index: 0; }
17% { left: 0; top: var(--sum-home); z-index: 0; }
}
@keyframes carry-path {
0% { left: 0; top: var(--carry-home); z-index: 0; }
1% { left: 0; top: var(--carry-home); z-index: 0; }
2% { left: 0; top: var(--carry-home); z-index: 0; }
3% { left: 0; top: var(--carry-home); z-index: 0; }
4% { left: 0; top: var(--carry-home); z-index: 0; }
5% { left: 0; top: var(--carry-home); z-index: 0; }
6% { left: 0; top: var(--carry-home); z-index: 0; }
7% { left: var(--write-1-if-0); top: var(--accept-input-top); z-index: var(--accept-input-z); }
8% { left: 0; top: var(--carry-home); z-index: 0; }
9% { left: 0; top: var(--carry-home); z-index: 0; }
10% { left: 0; top: var(--carry-home); z-index: 0; }
11% { left: 0; top: var(--carry-home); z-index: 0; }
12% { left: 0; top: var(--carry-home); z-index: 0; }
13% { left: 0; top: var(--carry-home); z-index: 0; }
14% { left: 0; top: var(--carry-home); z-index: 0; }
15% { left: 0; top: var(--carry-home); z-index: 0; }
16% { left: var(--write-0-if-1); top: var(--accept-input-top); z-index: var(--accept-input-z); }
17% { left: 0; top: var(--carry-home); z-index: 0; }
}
@keyframes bit-move {
0% { left: var(--bit-right); }
50% { left: var(--bit-left); }
100% { left: var(--bit-right); }
}
@keyframes move {
from { height: var(--container-height); }
to { height: calc(var(--container-height) - 1px); }
}
@keyframes active-box-wiggle {
0% { height: var(--box-height); }
50% { height: calc(var(--box-height) - 1px); }
}
.bit {
animation-name: bit-move;
animation-duration: var(--full-cycle-duration);
animation-timing-function: steps(1);
animation-fill-mode: none;
animation-iteration-count: infinite;
animation-play-state: paused;
height: 25px;
width: 100px;
font-size: small;
position: absolute;
background-color: lightblue;
pointer-events: all;
line-height: calc(var(--box-height) - 1px);
}
.bit.one {
animation-delay: 1s;
}
.bit-container {
left: 0;
top: 0;
width: var(--container-width);
height: var(--container-height);
border: 1px solid black;
line-height: calc(var(--container-height) - 1px);
text-align: center;
vertical-align: middle;
position: absolute;
pointer-events: none;
z-index: 100;
background: rgba(255, 255, 255, 0.5);
}
.move-box {
width: var(--box-width);
height: var(--container-height);
font-size: small;
background-color: lightgray;
position: absolute;
pointer-events: all;
animation-name: move;
animation-duration: var(--wiggle-duration);
animation-iteration-count: infinite;
animation-timing-function: steps(1);
}
.move-box:hover ~ .bit {
animation-play-state: running;
}
.bit.top {
position: absolute;
pointer-events: all;
animation: bit-move var(--full-cycle-duration) infinite steps(1);
animation-play-state: paused;
top: 0;
}
.bit.top:hover, .bit.top:hover ~ .bit.bottom {
background-color: yellow;
animation-play-state: running;
}
.bit.bottom {
top: var(--box-height);
}
.bit.bottom:hover {
background-color: burlywood;
}
.label {
width: var(--box-width);
height: var(--box-height);
position: absolute;
top: 0;
animation-name: label-blink;
animation-duration: var(--full-cycle-duration);
animation-iteration-count: infinite;
animation-timing-function: steps(1);
}
.label-0 {
left: 100px;
}
.label-1 {
left: 200px;
}
#bit-a {
top: var(--a-home);
animation: a-path var(--main-loop-duration) steps(1) var(--main-loop-delay) infinite;
}
#bit-b {
top: var(--b-home);
animation: b-path var(--main-loop-duration) steps(1) var(--main-loop-delay) infinite;
}
#bit-c {
top: var(--c-home);
animation: c-path var(--main-loop-duration) steps(1) var(--main-loop-delay) infinite;
}
#bit-temp-1 {
top: var(--temp-1-home);
animation: temp-1-path var(--main-loop-duration) steps(1) var(--main-loop-delay) infinite;
}
#bit-temp-2 {
top: var(--temp-2-home);
animation: temp-2-path var(--main-loop-duration) steps(1) var(--main-loop-delay) infinite;
}
#bit-temp-3 {
top: var(--temp-3-home);
animation: temp-3-path var(--main-loop-duration) steps(1) var(--main-loop-delay) infinite;
}
#bit-sum {
top: var(--sum-home);
animation: sum-path var(--main-loop-duration) steps(1) var(--main-loop-delay) infinite;
}
#bit-carry {
top: var(--carry-home);
animation: carry-path var(--main-loop-duration) steps(1) var(--main-loop-delay) infinite;
}
#active-box {
width: var(--box-width);
height: var(--box-height);
animation: active-box-wiggle var(--wiggle-duration) infinite linear;
line-height: calc(var(--box-height) - 1px);
vertical-align: middle;
text-align: center;
left: var(--active-move);
top: var(--accept-input-top);
position: absolute;
font-size: small;
border: 1px solid black;
z-index: 1;
}
#halt {
width: var(--box-width);
height: var(--box-height);
left: 500px;
position: absolute;
font-size: small;
border: 1px solid black;
z-index: 0;
line-height: calc(var(--box-height) - 1px);
vertical-align: middle;
text-align: center;
}
#halt:hover ~ .bit-container {
animation-play-state: paused;
}
</style>
</head>
<body>
<div id="halt">HALT</div>
<div id="bit-a" class="bit-container">
<div class="move-box">
Input A
</div>
<div class="label-0 label">0</div>
<div class="label-1 label">1</div>
<div class="bit top">Write A</div>
<div class="bit bottom">Read A</div>
</div>
<div id="bit-b" class="bit-container">
<div class="move-box">
Input B
</div>
<div class="label-0 label">0</div>
<div class="label-1 label">1</div>
<div class="bit top">Write B</div>
<div class="bit bottom">Read B</div>
</div>
<div id="bit-c" class="bit-container">
<div class="move-box">
Input C
</div>
<div class="label-0 label">0</div>
<div class="label-1 label">1</div>
<div class="bit top">Write C</div>
<div class="bit bottom">Read C</div>
</div>
<div id="bit-temp-1" class="bit-container">
<div class="move-box">
Temp 1
</div>
<div class="label-0 label">0</div>
<div class="label-1 label">1</div>
<div class="bit top">Write Temp 1</div>
<div class="bit bottom">Read Temp 1</div>
</div>
<div id="bit-temp-2" class="bit-container">
<div class="move-box">
Temp 2
</div>
<div class="label-0 label">0</div>
<div class="label-1 label">1</div>
<div class="bit top">Write Temp 2</div>
<div class="bit bottom">Read Temp 2</div>
</div>
<div id="bit-temp-3" class="bit-container">
<div class="move-box">
Temp 3
</div>
<div class="label-0 label">0</div>
<div class="label-1 label">1</div>
<div class="bit top">Write Temp 3</div>
<div class="bit bottom">Read Temp 3</div>
</div>
<div id="bit-sum" class="bit-container">
<div class="move-box">
Sum
</div>
<div class="label-0 label">0</div>
<div class="label-1 label">1</div>
<div class="bit top">Write Sum</div>
<div class="bit bottom">Read Sum</div>
</div>
<div id="bit-carry" class="bit-container">
<div class="move-box">
Carry
</div>
<div class="label-0 label">0</div>
<div class="label-1 label">1</div>
<div class="bit top">Write Carry</div>
<div class="bit bottom">Read Carry</div>
</div>
<div id="active-box">MOUSE HERE</div>
</body>
</html>