-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
executable file
·710 lines (647 loc) · 38.8 KB
/
index.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
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
<!DOCTYPE html>
<html class="no-js">
<head profile="http://gmpg.org/xfn/11">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Fun and Games with CSS</title>
<meta name="description" content="A short presentation demonstrating the exciting potential of CSS technologies, including Transforms, Transitions, Animation, and Filters.">
<meta name="author" content="Chris Ruppel">
<meta name="viewport" content="width=device-width,user-scalable=no">
<meta name="monetization" content="$ilp.uphold.com/BGG9gLz6k9z9">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr.min.js"></script>
</head>
<body>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
<main role="main" class="main wrapper clearfix" id="slides">
<nav role="navigation">
<a class="back" title="back">‹</a>
<a class="next" title="next">›</a>
</nav>
<article id="s-title">
<h1>
<span class="fun">Fun</span>
<span class="and">and</span><span class="games"> Games </span><span class="with">with
<span class="css">
CSS<span class="three">3</span>
</span>
</span>
</h1>
<!-- <div class="warning">
<p>
Just FYI, your browser can't handle everything in this slide deck :(
There are compatibility charts on each demo so you'll know why.
</p>
</div>
<p class="instructions">
Use the ‹ and › keys<br>
to advance backward and forward.
</p> -->
</article>
<article id="s-background">
<p class="intro">a little about me</p>
<h2>Chris Ruppel <a href="http://twitter.com/rupl" class="twitter">@rupl</a></h2>
<div class="fk"></div>
<p class="now hide"><b>Now:</b> frontend developer at <a href="http://fourkitchens.com">Four Kitchens</a></p>
<p class="then hide"><b>Then:</b> digital video editing,<br> post-production,<br> 3D modeling / rendering</p>
</article>
<article id="s-intro">
<div class="overlay">
<p class="meanwhile">Meanwhile, 2013 in the the gaming industry...</p>
</div>
<p class="intro">Graphics on the web had pretty humble beginnings.</p><br>
<span class="word" contenteditable>CSS</span>
<p>Butcher four loko actually DIY, vegan fixie fashion axe. Single-origin coffee blog sustainable retro brooklyn. SXSW leggings hoodie lo-fi, blue bottle cray helvetica post-ironic 8-bit salvia PBR. Readymade umami wolf retro truffaut sartorial, mcsweeney's flannel.</p>
<p>Fanny pack +1, typewriter pop-up CSS4 keffiyeh mlkshk try-hard fingerstache tumblr fap blog farm-to-table. Banksy you probably haven't heard of them seitan fanny pack mlkshk. Truffaut beard craft beer keffiyeh butcher street art.</p>
</article>
<article id="s-css">
<h3>So, what is CSS3?<span class="slash"></span></h3>
<p class="list">Well, the full list is here: <a href="http://www.w3.org/TR/#tr_CSS">http://www.w3.org/TR/#tr_CSS</a></p>
<section class="finished">
<p>Here's the stuff that's finished:</p>
<ul class="specs">
<li>Document Object Model (DOM) Level 2 Style Specification
<li>Cascading Style Sheets (CSS1) Level 1 Specification
<li>Associating Style Sheets with XML documents 1.0 (Second Edition)
<li>Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification
<li>CSS Color Module Level 3
<li>A MathML for CSS Profile
<li>CSS Namespaces Module
<li>Selectors Level 3
<li>Media Queries
<li>Selectors API Level 1
</ul>
</section>
<section class="unfinished">
<p class="covering">We're covering a handful right now:</p>
<p class="fun show">Here's the stuff that isn't:</p>
<ul class="drafts">
<li>CSS3 module: line
<li>CSS TV Profile 1.0
<li>CSS3 Generated and Replaced Content Module
<li>CSS3 module: Presentation Levels
<li>CSS3 module: Syntax
<li>CSS3 Hyperlink Presentation Module
<li>The CSS 'Reader' Media Type
<li>CSS3 Module: Paged Media
<li>CSS Print Profile
<li>CSS basic box model
<li>CSS Grid Positioning Module Level 3
<li>Behavioral Extensions to CSS
<li>CSS Marquee Module Level 3
<li>CSS Mobile Profile 2.0
<li>CSS Style Attributes
<li>CSS Multi-column Layout Module
<li>CSS Lists and Counters Module Level 3
<li>CSS3 Ruby Module
<li>CSSOM
<li>CSSOM View Module
<li>CSS Device Adaptation
<li>CSS Generated Content for Paged Media Module
<li>CSS Template Layout Module
<li>CSS Basic User Interface Module Level 3 (CSS3 UI)
<li>CSS Positioned Layout Module Level 3
<li>CSS Speech Module
<li>CSS Variables Module Level 1
<li>CSS Image Values and Replaced Content Module Level 3
<li>CSS Exclusions and Shapes Module Level 3
<li>CSS Box Alignment Module Level 3
<li>Selectors API Level 2
<li>Fullscreen
<li>CSS Backgrounds and Borders Module Level 3
<li>Compositing and Blending 1.0
<li>CSS Fragmentation Module Level 3
<li>CSS Regions Module Level 3
<li>Selectors Level 4
<li>CSS Values and Units Module Level 3
<li class="used">CSS Transforms
<li>CSS Image Values and Replaced Content Module Level 4
<li>CSS Flexible Box Layout Module
<li>CSS Intrinsic & Extrinsic Sizing Module Level 3
<li class="used">Filter Effects 1.0
<li>CSS Grid Layout
<li>CSS Text Module Level 3
<li>CSS Masking
<li>CSS Writing Modes Module Level 3
<li>CSS Conditional Rules Module Level 3
<li>CSS Text Decoration Module Level 3
<li>CSS Cascading and Inheritance Level 3
<li>CSS Fonts Module Level 3
<li class="used">CSS Transitions
<li class="used">CSS Animations
<li>CSS Counter Styles Level 3
</ul>
</section>
<section class="everything">
<p class="css2-1">See how CSS 2.1 is included in CSS3?</p>
<p class="css3-all">That means all CSS is CSS3<span class="slash"></span></p>
</section>
</article>
<article id="s-funstuff">
<div class="compat">
<span class="reqs">This demo requires...</span>
<span class="csstransforms3d">3D Transforms</span>
<span class="cssfilters">Filters</span>
<span class="csstransforms">2D Transforms</span>
<span class="cssanimations">Animations</span>
<span class="csstransitions">Transitions</span>
</div>
<h2>Time for fun stuff!</h2>
<p>Each demo has a compatibility chart in the corner.<p>
<p class="red">If you see any <span class="highlight">red</span>, your browser doesn't support that feature yet.</p>
<p class="contact">Let browser makers know it's something you're interested in:</p>
<ul class="devrels">
<li><a href="http://twitter.com/ChromiumDev">@ChromiumDev</a></li>
<li><a href="http://twitter.com/ODevRel">@ODevRel</a></li>
<li><a href="http://twitter.com/mozhacks">@mozhacks</a></li>
<li><a href="http://twitter.com/IE">@IE</a></li>
<li><a href="http://twitter.com/lolno">@Apple</a></li>
</ul>
</article>
<article id="s-transforms" class="break">
<h2>Transforms</h2>
</article>
<article id="s-paper">
<div class="compat">
<span class="reqs">This demo requires...</span>
<span class="csstransforms3d">3D Transforms</span>
<span class="cssanimations">Animations</span>
</div>
<p class="intro">
<span class="flat">3D Transforms are inherited by children.</span><br>
You can think of nested <span class="elements">elements <span class="like">much like <span class="paper">paper <span class="folds">folds</span></span></span></span>
</p>
<div class="sandbox">
<div class="cube rotate hide">
<span class="top flat side"></span>
<span class="left flat side"></span>
<span class="right flat side"></span>
<span class="bottom flat side">
<span class="back flat side"></span>
</span>
</div>
</div>
</article>
<article id="s-slinky">
<div class="compat">
<span class="reqs">This demo requires...</span>
<span class="csstransforms3d">3D Transforms</span>
<span class="csstransitions">Transitions</span>
<span class="cssanimations">Animations</span>
</div>
<p class="intro">You can use 3D Transform inheritance to simulate complex objects</p>
<p class="slinky-desc hide">This slinky is not a spiral, but numerous nested <code><div></code>s</p>
<div class="sandbox">
<div class="slinky hide">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment">
<div class="segment last">
<!-- nothing to see here, move along -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><!-- .slinky -->
</div><!-- .sandbox -->
</article>
<article id="s-tile">
<div class="compat">
<span class="reqs">This demo requires...</span>
<span class="csstransforms3d">3D Transforms</span>
<span class="csstransitions">Transitions</span>
</div>
<p class="intro">You can also incorporate transformed elements into images.</p>
<!-- I took the tile photo right here: http://j.mp/tile-aic -->
<div id="floor">
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div class="panel"><div class="left"></div><div class="right"></div><div class="front"></div><div class="back"></div><div class="top"></div><div class="shadow"></div></div>
<div id="base"></div>
</div><!-- #floor -->
<div id="fallback"><b>If you can read this, it means your browser cannot process the 3D transforms on this page.</b><br> There's no good fallback behavior, so I put this message here to let you know what happened.</div>
</article>
<article id="s-perspective">
<div class="compat">
<span class="reqs">This demo requires...</span>
<span class="csstransforms3d">3D Transforms</span>
<span class="csstransitions">Transitions</span>
</div>
<p class="intro">Sometimes, it's all about...</p>
<div class="board">
<span class="perspective" contenteditable>PERSPECTIVE</span>
<p>Butcher four loko actually DIY, vegan fixie fashion axe. Single-origin coffee blog sustainable retro brooklyn. SXSW leggings hoodie lo-fi, blue bottle cray helvetica post-ironic 8-bit salvia PBR. Readymade umami wolf retro truffaut sartorial, mcsweeney's flannel.</p>
<p>Fanny pack +1, typewriter pop-up CSS4 keffiyeh mlkshk try-hard fingerstache tumblr fap blog farm-to-table. Banksy you probably haven't heard of them seitan fanny pack mlkshk. Truffaut beard craft beer keffiyeh butcher street art.</p>
<p>Pug marfa raw denim, helvetica meh carles vice aesthetic. Polaroid pop-up echo park portland authentic. Whatever tonx chillwave keffiyeh thundercats bespoke, cray literally cardigan quinoa PBR. Seitan chambray mumblecore, street art neutra biodiesel yr keffiyeh synth occupy freegan leggings cred artisan.</p>
</div>
<p class="solar-desc hide">
Speaking of space, a solar system is easy too.<br>
Orbit paths are inherited by each child.
</p>
<!-- There is lots of prior art for this: http://codepen.io/juliangarnier/pen/idhuG -->
<div class="solar-system hide">
<span class="sun">
<span class="earth">
<span class="moon"></span>
</span>
</span>
</div>
</article>
<article id="s-animation">
<div class="compat">
<span class="reqs">This demo requires...</span>
<span class="cssanimations">Animations</span>
<span class="csstransforms">2D Transforms</span>
</div>
<p class="intro"><code>animation-delay</code> can be used with <code>nth-child</code></p>
<div class="organism">
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
<span class="cell"><span class="nucleus"></span></span>
</div>
</article>
<article id="s-illusions" class="break">
<h2>Optical Illusions</h2>
</article>
<article id="s-ames">
<div class="compat">
<span class="reqs">This demo requires...</span>
<span class="cssanimations">Animations</span>
<span class="cssfilters">Filters</span>
<span class="csstransforms3d">3D Transforms</span>
</div>
<p class="intro"><a href="http://en.wikipedia.org/wiki/Ames_trapezoid">Ames window</a> is a perspective illusion.</p>
<p class="explain-shape">This is a flat, trapezoid shape even though it appears to be a rectangle tilted at an angle.</p>
<p class="explain-rotate">It is rotating in a circle. Really.</p>
<div class="container">
<div class="ames">
<span class="h"></span>
<span class="v"></span>
<span class="h-cover"></span><!-- forgive the sloppy markup, this is a hard shape -->
</div>
</div>
</article>
<article id="s-moire">
<div class="compat">
<span class="reqs">This demo requires...</span>
<span class="cssanimations">Animations</span>
<span class="cssfilters">Filters</span>
<span class="csstransforms">2D Transforms</span>
</div>
<p class="intro"><a href="http://en.wikipedia.org/wiki/Moir%C3%A9_pattern">Moiré patterns</a> are formed by slightly mis-aligning identical patterns</p>
<div class="container rect show">
<div class="pattern-1"></div>
<div class="pattern-2"></div>
</div>
<div class="container circle">
<div class="pattern-1"></div>
<div class="pattern-2"></div>
</div>
</article>
<article id="s-alignment">
<div class="compat">
<span class="reqs">This demo requires...</span>
<span class="csstransitions">Transitions</span>
<span class="cssfilters">Filters</span>
<span class="csstransforms3d">3D Transforms</span>
</div>
<p class="intro">Since 3D transforms are perfect, you can use them to hide information that is near-impossible to conceal in real life.</p>
<div class="segments">
<span class="segment"></span>
<span class="segment"></span>
<span class="segment"></span>
<span class="segment"></span>
<span class="segment"></span>
</div>
</article>
<article id="s-reference">
<h2>Fun references</h2>
<ul>
<li><a href="http://www.w3.org/TR/#tr_CSS">List of W3 Standards and Drafts for CSS</a></li>
<li><a href="http://desandro.github.com/3dtransforms/">Comprehensive intro to 3D transforms</a></li>
<li><a href="http://rupl.github.com/unfold/">Exploring CSS 3D Transforms</a></li>
<li><a href="http://www.html5rocks.com/en/tutorials/filters/understanding-css/">CSS Filters article</a></li>
</ul>
</article>
<article id="s-demos">
<h2>Fun demos</h2>
<ul>
<li><a href="http://html5-demos.appspot.com/static/css/filters/index.html">CSS Filters demo</a></li>
<li><a href="http://html.adobe.com/webstandards/csscustomfilters/cssfilterlab/">Adobe CSS FilterLab</a></li>
<li><a href="http://www.zachstronaut.com/lab/galaxy-box/">3D Transform galaxy demo</a></li>
</ul>
</article>
<article id="s-end">
<h1>the beginning</h1>
<br><br><br>
<ul class="contact">
<li><a href="https://github.com/rupl">github.com/rupl</a>
<li><a href="http://twitter.com/rupl">twitter.com/rupl</a>
<li>chris ❀ <a href="http://fourkitchens.com">fourkitchens.com</a>
</ul>
<ul class="sxsw-stuff">
<li class="rate"><a href="http://sxsw.tv/d63">Rate: sxsw.tv/d63</a></li>
<li class="slides"><a href="http://j.mp/fun-css">Slides: j.mp/fun-css</a></li>
<li><a href="https://github.com/rupl/fun-games-css3">Fork on GitHub</a></li>
</ul>
</article>
</main>
<footer class="wrapper">
<span>Made with ❤ by</span>
<span class="vcard"><a href="http://github.com/rupl" rel="me url fn">Chris Ruppel</a></span>
</footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.3.min.js"><\/script>')</script>
<script src="js/main.js"></script>
<script>
/*
var _gaq=[['_setAccount','UA-432773-XX'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
*/
</script>
</body>
</html>