-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path20150924_1_slides.html
908 lines (600 loc) · 26.2 KB
/
20150924_1_slides.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
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1024">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>中興資訊社 社課 HTML & Bootstrap | by PastLeo & 杜杰</title>
<meta name="generator" content="Slide Show (S9)">
<meta name="author" content="PastLeo & 杜杰">
<link href='http://fonts.googleapis.com/css?family=Montserrat:700' rel='stylesheet' type='text/css'>
<style>
h1,h2,h3,h4,h5,h6{
text-align: center;
}
/*loading style, title and author*/
div#loading{
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
transition: opacity 1s;
background: rgb(21, 21, 21);
}
div#loading h1{
margin: 0;
padding-top: 80px;
padding-bottom: 20px;
background: rgb(53, 53, 53);
border-bottom: #8ADFFF solid 3px;
color: rgb(152, 255, 189);
}
div#loading h3{
margin: 0;
padding-top: 20px;
padding-bottom: 20px;
background: rgb(72, 84, 66);
color: rgba(255, 179, 94, 1);
}
div#loading.done{
opacity:0;
}
div#loading .spinner {
-webkit-animation: rotation 1.4s linear infinite;
animation: rotation 1.4s linear infinite;
stroke: rgba(0, 149, 207, 1);
margin-left: auto;
display: block;
margin-right: auto;
margin-top: 10%;
}
@-webkit-keyframes rotation {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(270deg);
transform: rotate(270deg);
}
}
@keyframes rotation {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(270deg);
transform: rotate(270deg);
}
}
div#loading .spinner .circle {
stroke-dasharray: 187;
stroke-dashoffset: 0;
-webkit-transform-origin: center;
-ms-transform-origin: center;
transform-origin: center;
-webkit-animation: turn 1.4s ease-in-out infinite;
animation: turn 1.4s ease-in-out infinite;
}
@-webkit-keyframes turn {
0% {
stroke-dashoffset: 187;
}
50% {
stroke-dashoffset: 46.75;
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
}
100% {
stroke-dashoffset: 187;
-webkit-transform: rotate(450deg);
transform: rotate(450deg);
}
}
@keyframes turn {
0% {
stroke-dashoffset: 187;
}
50% {
stroke-dashoffset: 46.75;
-webkit-transform: rotate(135deg);
transform: rotate(135deg);
}
100% {
stroke-dashoffset: 187;
-webkit-transform: rotate(450deg);
transform: rotate(450deg);
}
}
/*the background*/
body {
background: #545454; /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover, #545454 0%, #262626 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#545454), color-stop(100%,#262626)); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover, #545454 0%,#262626 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover, #545454 0%,#262626 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover, #545454 0%,#262626 100%); /* IE10+ */
background: radial-gradient(ellipse at center, #545454 0%,#262626 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#545454', endColorstr='#262626',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
font-family: 'Montserrat', sans-serif;
}
/*normal step*/
.step {
color:rgb(152, 255, 189);
width: 1024px;
height: 576px;
padding: 40px 60px;
font-size: 32px;
opacity: 0.9;
line-height: 1.6;
transition: all 0.5s ease 0s;
}
.step.future {
opacity: 0;
pointer-events:none;
}
.step.active {
opacity: 1;
text-shadow: 0px 0px 20px black;
}
.step.present {
z-index: 100;
}
/*markdown elements*/
h2{
margin-top: 20%;
margin-bottom: 10px;
}
h4{
margin-top: 0;
margin-bottom: 10px;
}
p {
margin: 0;
}
pre {
background-color: rgba(56, 186, 112, 1);
padding: 15px;
overflow: auto;
}
code {
background-color: rgba(56, 186, 112, 0.82);
color: #D1CABC;
border-radius: 10px;
padding: 7px;
font-family: "Consolas","Montserrat",sans-serif;
}
blockquote {
margin: 0px;
padding-left: 40px;
border-left: 10px solid #000;
color: rgba(105, 105, 105, 1)
}
blockquote blockquote{
border: none;
}
blockquote p{
margin: 0;
}
img {
max-width: 100%;
}
ul {
padding-left: 1.75em;
margin: 0px 0px 20px;
}
a {
color: rgba(0, 149, 207, 1);
}
strong {
color: rgba(255, 179, 94, 1);
}
/*controls*/
.controls {
position: absolute;
bottom: 20px;
left: 20px;
}
.arrow {
width: 0px;
height: 0px;
border: 30px solid rgba(153, 186, 213, 0.5);
float: left;
margin-right: 30px;
-moz-user-select: none;
}
.prev {
border-top-color: transparent;
border-bottom-color: transparent;
border-left-color: transparent;
border-left-width: 0px;
border-right-width: 50px;
}
.prev:hover {
border-right-color: rgba(194, 217, 225, 1);
cursor: pointer;
}
.next {
border-top-color: transparent;
border-bottom-color: transparent;
border-right-color: transparent;
border-left-width: 50px;
border-right-width: 0px;
}
.next:hover{
border-left-color: rgba(194, 217, 225, 1);
cursor: pointer;
}
/* customization options of steps*/
.slide {
background: #383838;
border: black solid 1px;
border-radius: 10px;
overflow: auto;
}
.slide.active {
box-shadow: rgba(255, 255, 255, 0.5) 0px 0px 10px;
}
.step.unclickable {
pointer-events:none;
}
.step.center p {
text-align: center;
}
.step.showOnlyWhenPresent {
opacity: 0;
pointer-events:none;
}
.step.showOnlyWhenPresent.present {
opacity: 1;
pointer-events:default;
}
.step.picture img{
max-height: 400px;
margin-left: auto;
margin-right: auto;
display: block;
}
.step.slogen h2{
margin-top: 15%;
font-size: 1.9em;
}
.slogen_with_pic h2 {
margin-top: 10%;
}
.bigger_h2 h2 {
margin-top: 15%;
font-size: 3.5em;
}
</style>
</head>
<body class="impress-not-supported">
<div id="impress">
<!-- note: assumes no header (breaking slides w/ SLIDE directive) -->
<div class='step ' data-x='0' data-y='0' data-scale='10' >
<!-- === begin markdown block ===
generated by markdown/1.2.0 on Ruby 2.1.5 (2014-11-13) [x86_64-linux-gnu]
on 2015-09-24 10:49:03 +0000 with Markdown engine kramdown (1.8.0)
using options {}
-->
<!-- _S9SLIDE_ x=0 y=0 scale=10 -->
<h2 id="html--bootstrap">中興資訊社 社課 HTML & Bootstrap</h2>
<h4 id="section">給尚未接觸過程式的你/妳</h4>
</div>
<div class='step ' data-x='0' data-y='-7000' data-scale='10' >
<!-- _S9SLIDE_ x=0 y=-7000 scale=10 -->
<h2 id="web-html-">開始學寫程式,為何從 Web (HTML) 開始?</h2>
</div>
<div class='step center slogen_with_pic' data-x='-3000' data-y='-4750' data-scale='2' >
<!-- _S9SLIDE_ center slogen_with_pic x=-3000 y=-4750 scale=2 -->
<h3 id="a-piece-of-cake">簡單 (A piece of cake)</h3>
<p><img src="http://i.imgur.com/1b2zWMY.jpg" alt="piece_of_cake" /></p>
</div>
<div class='step center slogen_with_pic' data-x='0' data-y='-4750' data-scale='2' >
<!-- _S9SLIDE_ center slogen_with_pic x=0 y=-4750 scale=2 -->
<h3 id="section-1">有呈現</h3>
<p><img src="img/photos.jpg" alt="photos?" /></p>
</div>
<div class='step center slogen_with_pic' data-x='3000' data-y='-4750' data-scale='2' >
<!-- _S9SLIDE_ center slogen_with_pic x=3000 y=-4750 scale=2 -->
<h3 id="real-cross-platform">Real Cross platform</h3>
<p><img src="img/cross-platform.png" alt="cross platform" /></p>
</div>
<div class='step unclickable' data-x='0' data-y='-7000' data-scale='10' >
<!-- _S9SLIDE_ unclickable x=0 y=-7000 scale=10 -->
</div>
<div class='step center' data-x='-12000' data-y='-7000' data-scale='10' >
<!-- _S9SLIDE_ center x=-12000 y=-7000 scale=10 -->
<p><img src="img/html5.png" alt="HTML5" /></p>
<h4 id="the-structure----html">the Structure – HTML</h4>
</div>
<div class='step center' data-x='-7700' data-y='-9500' data-scale='4' >
<!-- _S9SLIDE_ center x=-7700 y=-9500 scale=4 -->
<h3 id="section-2">首先</h3>
<p><img src="img/sublimetext.png" alt="sublimetext" /></p>
<h4 id="section-3">啟動我們的編輯器</h4>
</div>
<div class='step bigger_h2' data-x='-7700' data-y='-7300' data-scale='4' >
<!-- _S9SLIDE_ bigger_h2 x=-7700 y=-7300 scale=4 -->
<h2 id="section-4">語法、起承轉合</h2>
</div>
<div class='step showOnlyWhenPresent center' data-x='-7700' data-y='-7300' data-z='1600' data-rotate-x='-90' data-rotate-y='180' data-scale='4' >
<!-- _S9SLIDE_ showOnlyWhenPresent center x=-7700 y=-7300 z=1600 rotate-x=-90 rotate-y=180 scale=4 -->
<pre><code><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title!</title>
</head>
<body>
<!-- Contents here ... I am comment! -->
</body>
</html>
</code></pre>
</div>
<div class='step ' data-x='-7700' data-y='-5500' data-scale='4' >
<!-- _S9SLIDE_ x=-7700 y=-5500 scale=4 -->
<h2 id="section-5">啥都沒有?</h2>
<h4 id="section-6">來加些東西吧</h4>
</div>
<div class='step ' data-x='-7700' data-y='-5100' data-z='1000' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=-7700 y=-5100 z=1000 rotate-x=-90 scale=4 -->
<h2 id="header-h1---h6">Header <code><h1></code> - <code><h6></code></h2>
</div>
<div class='step ' data-x='-7700' data-y='-5100' data-z='700' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=-7700 y=-5100 z=700 rotate-x=-90 scale=4 -->
<h2 id="paragraph-p--p">Paragraph <code><p> ... </p></code></h2>
</div>
<div class='step ' data-x='-7700' data-y='-5100' data-z='400' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=-7700 y=-5100 z=400 rotate-x=-90 scale=4 -->
<h2 id="a--hyber-link--a-href--a">a … hyber link ? <code><a href="#"> ... </a></code></h2>
</div>
<div class='step ' data-x='-7700' data-y='-5100' data-z='100' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=-7700 y=-5100 z=100 rotate-x=-90 scale=4 -->
<h2 id="image-img-src-alt">image <code><img src="..." alt=""/></code></h2>
</div>
<div class='step ' data-x='-16300' data-y='-9500' data-scale='4' >
<!-- _S9SLIDE_ x=-16300 y=-9500 scale=4 -->
<h2 id="section-7">當然不會只有這樣</h2>
</div>
<div class='step ' data-x='-16300' data-y='-8200' data-scale='4' >
<!-- _S9SLIDE_ x=-16300 y=-8200 scale=4 -->
<h2 id="section-8">一些內建的簡單控制</h2>
<h4 id="section-9">文字的部分</h4>
</div>
<div class='step ' data-x='-16300' data-y='-8800' data-z='700' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=-16300 y=-8800 z=700 rotate-x=-90 scale=4 -->
<h2 id="strong--strong"><code><strong> ... </strong></code></h2>
</div>
<div class='step ' data-x='-16300' data-y='-8800' data-z='400' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=-16300 y=-8800 z=400 rotate-x=-90 scale=4 -->
<h2 id="italic-i--i">italic <code><i> ... </i></code></h2>
</div>
<div class='step ' data-x='-16300' data-y='-8800' data-z='100' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=-16300 y=-8800 z=100 rotate-x=-90 scale=4 -->
<h2 id="br-">換行 <code><br /></code></h2>
</div>
<div class='step bigger_h2' data-x='-16300' data-y='-6500' data-scale='4' >
<!-- _S9SLIDE_ bigger_h2 x=-16300 y=-6500 scale=4 -->
<h2 id="section-10">表格</h2>
</div>
<div class='step showOnlyWhenPresent center' data-x='-16300' data-y='-6500' data-z='1600' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ showOnlyWhenPresent center x=-16300 y=-6500 z=1600 rotate-x=-90 scale=4 -->
<pre lang="html"><code><table>
<tr>
<td>row 1 col 1</td>
<td>row 1 col 2</td>
</tr>
<tr>
<td>row 2 col 1</td>
<td>row 2 col 2</td>
</tr>
</table>
</code></pre>
</div>
<div class='step bigger_h2' data-x='-16300' data-y='-4400' data-scale='4' >
<!-- _S9SLIDE_ bigger_h2 x=-16300 y=-4400 scale=4 -->
<h2 id="section-11">清單</h2>
</div>
<div class='step showOnlyWhenPresent center' data-x='-16300' data-y='-4400' data-z='1600' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ showOnlyWhenPresent center x=-16300 y=-4400 z=1600 rotate-x=-90 scale=4 -->
<pre lang="html"><code><ul> <!-- unsorted list -->
<li>item</li>
<li>item</li>
<li>item</li>
</ul>
<ol> <!-- ordered list -->
<li>first item</li>
<li>second item</li>
<li>third item</li>
</ol>
</code></pre>
</div>
<div class='step unclickable center' data-x='-12000' data-y='-7000' data-scale='10' >
<!-- _S9SLIDE_ unclickable center x=-12000 y=-7000 scale=10 -->
</div>
<div class='step center' data-x='-12000' data-y='-7000' data-z='-12500' data-scale='10' >
<!-- _S9SLIDE_ center x=-12000 y=-7000 z=-12500 scale=10 -->
<h3 id="section-12">事實上 …</h3>
<p>HTML5 的 Tag 多到說不完</p>
<p><img src="img/treasure.jpeg" alt="Treasure" /></p>
<h3 id="httpsdevelopermozillaorgen-usdocswebhtmlelement"><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element">去網路上挖寶吧!</a></h3>
</div>
<div class='step center' data-x='12000' data-y='-7000' data-scale='10' >
<!-- _S9SLIDE_ center x=12000 y=-7000 scale=10 -->
<p><img src="img/css3.png" alt="CSS" /></p>
<h4 id="the-decoration---css">the Decoration - CSS</h4>
</div>
<div class='step ' data-x='16300' data-y='-9500' data-scale='4' >
<!-- _S9SLIDE_ x=16300 y=-9500 scale=4 -->
<h2 id="word">我想應該有人覺得前面的東西想是在寫一個不直覺的 Word</h2>
<h4 id="section-13">還不能條字體大小顏色勒</h4>
</div>
<div class='step ' data-x='16300' data-y='-10100' data-z='1800' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=16300 y=-10100 z=1800 rotate-x=-90 scale=4 -->
<h2 id="css-">CSS 就是來幫助你的</h2>
<h4 id="html-">用來詳細設定一個 HTML 元件的顯示方式</h4>
</div>
<div class='step ' data-x='16300' data-y='-10100' data-z='1200' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=16300 y=-10100 z=1200 rotate-x=-90 scale=4 -->
<h2 id="section-14">設定方式</h2>
<h4 id="stylefont-size-24px-color-blue"><code>style="font-size: 24px; color: blue;"</code></h4>
</div>
<div class='step ' data-x='16300' data-y='-10100' data-z='600' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=16300 y=-10100 z=600 rotate-x=-90 scale=4 -->
<h2 id="developer-tool-">通常都先用 Developer tool 改好</h2>
<h4 id="f12-or-cmdopti-">用 F12 or CMD+OPT+i 打開</h4>
<h4 id="db">改到滿意再貼回去 d(`・∀・)b</h4>
</div>
<div class='step unclickable' data-x='16300' data-y='-9800' data-z='600' data-rotate-x='-45' data-scale='4' >
<!-- _S9SLIDE_ unclickable x=16300 y=-9800 z=600 rotate-x=-45 scale=4 -->
</div>
<div class='step ' data-x='16300' data-y='-7700' data-scale='4' >
<!-- _S9SLIDE_ x=16300 y=-7700 scale=4 -->
<h2 id="section-15">文字用屬性</h2>
<h4 id="section-16">除了上面的大小顏色之外,還有粗體跟陰影等</h4>
<h4 id="font-weight-bolder-text-align-center"><code>font-weight: bolder; text-align: center;</code></h4>
</div>
<div class='step slogen_with_pic' data-x='16300' data-y='-5900' data-scale='4' >
<!-- _S9SLIDE_ slogen_with_pic x=16300 y=-5900 scale=4 -->
<h2 id="section-17">背景</h2>
<pre><code>background : [ color ] [ image-url ] [ repeat ] [ attachment ] [ position-x ] [ position-y ];
</code></pre>
<pre><code>background : image-url [ repeat ] [ attachment ] [ position-x ] [ position-y ] [, image-url ...];
</code></pre>
<h4 id="more-info-httpsdevelopermozillaorgen-usdocswebcssbackground"><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background">More info …</a></h4>
</div>
<div class='step center' data-x='16300' data-y='-4100' data-scale='4' >
<!-- _S9SLIDE_ center x=16300 y=-4100 scale=4 -->
<h2 id="divdiv-">關於 <code><div></div></code> 這個東西</h2>
<h4 id="section-18">常常用來裝元件、排版</h4>
</div>
<div class='step showOnlyWhenPresent center slide' data-x='16300' data-y='-4000' data-z='1600' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ showOnlyWhenPresent center slide x=16300 y=-4000 z=1600 rotate-x=-90 scale=4 -->
<h3 id="the-box-model">The Box model</h3>
<p><img src="img/boxmodel.png" alt="box model" /></p>
<h4 id="margin--border--padding"><code>margin</code> / <code>border</code> / <code>padding</code></h4>
</div>
<div class='step ' data-x='16300' data-y='-3400' data-scale='4' >
<!-- _S9SLIDE_ x=16300 y=-3400 scale=4 -->
<h2 id="section-19">定位 / 大小</h2>
<h4 id="position--width--height--top--left--right--bottom"><code>position</code> / <code>width</code> / <code>height</code> / <code>top</code> / <code>left</code> / <code>right</code> / <code>bottom</code></h4>
</div>
<div class='step showOnlyWhenPresent center slide' data-x='16300' data-y='-3400' data-z='1600' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ showOnlyWhenPresent center slide x=16300 y=-3400 z=1600 rotate-x=-90 scale=4 -->
<h3 id="the-position">The Position</h3>
<ul>
<li><code>static</code> (default): 就是原本的樣子,這時候上下左右是沒用的</li>
<li><code>absolute</code>: 由 上下左右 絕對定位 於 上個有設定定位的元件</li>
<li><code>fixed</code>: 由 上下左右 絕對定位 於 viewport</li>
<li><code>relative</code>: 由 上下左右 偏移原本的位置</li>
</ul>
</div>
<div class='step center' data-x='7700' data-y='-9500' data-scale='4' >
<!-- _S9SLIDE_ center x=7700 y=-9500 scale=4 -->
<h3 id="section-20">其實還有更多更屌的屬性</h3>
<p><img src="img/treasure.jpeg" alt="Treasure" /></p>
<h6 id="section-21">我絕對不是因為不想找圖所以用同一張的</h6>
<h4 id="httpsdevelopermozillaorgen-usdocswebcssreference"><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference">自己去尋找吧!</a></h4>
</div>
<div class='step center' data-x='7700' data-y='-7800' data-scale='4' >
<!-- _S9SLIDE_ center x=7700 y=-7800 scale=4 -->
<h2 id="class-id">有東西叫做 <code>class</code>, <code>id</code></h2>
<h4 id="css--1">讓你把 CSS 屬性整理在同個地方</h4>
</div>
<div class='step ' data-x='7700' data-y='-7000' data-z='1300' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=7700 y=-7000 z=1300 rotate-x=-90 scale=4 -->
<h2 id="step-1--html--class--id-">Step 1: 幫 HTML 加上 <code>class</code> / <code>id</code> 屬性</h2>
</div>
<div class='step ' data-x='7700' data-y='-7000' data-z='1000' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=7700 y=-7000 z=1000 rotate-x=-90 scale=4 -->
<h2 id="step-2--tag-css">Step 2: 加上下方 Tag,裡面就是用來寫 CSS</h2>
<h4 id="style--css-rules--style"><code><style> /* css rules */ </style></code></h4>
</div>
<div class='step ' data-x='7700' data-y='-7000' data-z='400' data-rotate-x='-90' data-scale='4' >
<!-- _S9SLIDE_ x=7700 y=-7000 z=400 rotate-x=-90 scale=4 -->
<h2 id="step-3-">Step 3: 使用下方語法建立規則</h2>
<h4 id="css-selector--attributes----"><code>css-selector { attributes ... } ... </code></h4>
</div>
<div class='step center' data-x='7700' data-y='-6500' data-scale='4' >
<!-- _S9SLIDE_ center x=7700 y=-6500 scale=4 -->
<h2 id="css-selector-">CSS selector !?</h2>
</div>
<div class='step ' data-x='7700' data-y='-7000' data-z='-400' data-rotate-x='-90' data-scale='4' data-rotate-y='180' >
<!-- _S9SLIDE_ x=7700 y=-7000 z=-400 rotate-x=-90 scale=4 rotate-y=180 -->
<h2 id="tag--tag">直接寫 tag 就能選到 tag</h2>
<h4 id="body--body-"><code>body</code> 選到 <code>body</code> ,你說我在講廢話嗎</h4>
</div>
<div class='step ' data-x='7700' data-y='-7000' data-z='-1000' data-rotate-x='-90' data-scale='4' data-rotate-y='180' >
<!-- _S9SLIDE_ x=7700 y=-7000 z=-1000 rotate-x=-90 scale=4 rotate-y=180 -->
<h2 id="class----id"><code>.</code> 選 <code>class</code> / <code>#</code> 選 <code>id</code></h2>
<h4 id="mybox--classmybox">不懂? <code>.my_box</code> 選到 <code>class="my_box"</code></h4>
</div>
<div class='step ' data-x='7700' data-y='-7000' data-z='-1600' data-rotate-x='-90' data-scale='4' data-rotate-y='180' >
<!-- _S9SLIDE_ x=7700 y=-7000 z=-1600 rotate-x=-90 scale=4 rotate-y=180 -->
<h2 id="section-22">空白鍵往下選</h2>
<h4 id="mybox-p--mybox--p"><code>.my_box p</code> 選到 <code>.my_box</code> 裡面的 <code>p</code></h4>
</div>
<div class='step ' data-x='7700' data-y='-6500' data-scale='4' >
<!-- _S9SLIDE_ x=7700 y=-6500 scale=4 -->
<h2 id="nbsp"> </h2>
<h4 id="more-selector-ruleshttpsdevelopermozillaorgen-usdocswebcssreferenceselectors"><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference#Selectors">More selector rules</a></h4>
</div>
<div class='step center' data-x='7700' data-y='-4700' data-scale='4' >
<!-- _S9SLIDE_ center x=7700 y=-4700 scale=4 -->
<h2 id="html--1">寫成另一個檔案,用引入的方式讓 HTML 更乾淨</h2>
<h4 id="link-relstylesheet-href">使用 <code><link rel="stylesheet" href=""></code></h4>
</div>
<div class='step unclickable' data-x='12000' data-y='-7000' data-scale='10' >
<!-- _S9SLIDE_ unclickable x=12000 y=-7000 scale=10 -->
</div>
<div class='step picture center' data-x='0' data-y='7000' data-scale='10' >
<!-- _S9SLIDE_ picture center x=0 y=7000 scale=10 -->
<p><img src="img/js.png" alt="js" /></p>
<h4 id="script--js-code---script"><code><script> /* js code ... */ </script></code></h4>
<h4 id="script-srcjsfilejs-charsetutf-8script"><code><script src="js_file.js" charset="utf-8"></script></code></h4>
</div>
<div class='step picture center' data-x='0' data-y='7000' data-z='-12500' data-scale='10' >
<!-- _S9SLIDE_ picture center x=0 y=7000 z=-12500 scale=10 -->
<p><img src="img/stack.png" alt="web stack" /></p>
<!-- === end markdown block === -->
</div>
</div>
<div id="loading">
<h1>中興資訊社 社課 HTML & Bootstrap</h1>
<h3>PastLeo & 杜杰</h3>
<svg class="spinner" width="65px" height="65px" viewBox="0 0 66 66" xmlns="http://www.w3.org/2000/svg"><circle class="circle" fill="none" stroke-width="6" stroke-linecap="round" cx="33" cy="33" r="30"></circle></svg>
</div>
<div class="controls">
<div class="arrow prev"></div>
<div class="arrow next"></div>
</div>
<script src="http://netdna.impressjscdn.com/impressjs/0.5.3/js/impress.js"></script>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script>
var impressInstance;
$(document).ready(function(){
impressInstance = impress();
impressInstance.init();
/*impressInstance.prev_ori = impressInstance.prev;*/
impressInstance.next_ori = impressInstance.next;
impressInstance.next = function(){
impressInstance.next_ori();
$("div.step.active").removeClass("future");
};
$(".controls .arrow.prev").click(impressInstance.prev);
$(".controls .arrow.next").click(impressInstance.next);
if(window.location.hash)
$("div#impress div.step" + window.location.hash.replace("#/","#")).prevAll().removeClass("future");
setTimeout(function(){
$('div#loading').addClass('done');
setTimeout(function(){
$('div#loading').remove();
},1000);
},2000);
});
</script>
</body>
</html>