Upgrade to Pro — share decks privately, control downloads, hide ads and more …

NCC-JavaScript-Week#6

Irene Chang
November 22, 2015

 NCC-JavaScript-Week#6

NTUST Coding Club JavaScript Course Week#6 (2015.11.27)
For self-study only.

Irene Chang

November 22, 2015
Tweet

More Decks by Irene Chang

Other Decks in Education

Transcript

  1. ‣ $44ⰅꟌ ˋ ‣ 5P%P-JTU Ը #PPUTUSBQ矦➝ Ը 5P%P-JTU)UNM$44 Ը

    笪갤鏤鎙♶腋♶濼麥涸(SJE4ZTUFN Ը 㸤䧭笪갤卺圓 "HFOEB 3
  2. $44 铃岁圓䧭 9 鼇乵㐼 㿂䚍 ⧩ 4FMFDUPS 1SPQFSUZ 7BMVF 鼇乵ㆭ❉⯋稇銴㤛欽鸏⦐垺䒭

    ⢿㥶厥⦐垦겗㶶㕮晚䧴俒畎媯衆 邍爚銴ꆚ㼩➊랃垺䒭⨞锅侮 ⢿㥶겝蒀㣐㼭䧴⡙縨 颭✮䨾鼇㿂䚍♧⦐⧩ ⢿㥶秋蒀QY䧴縨⚥
  3. 5ZQF4FMFDUPST 鼇《乩剤湱ず垦硹涸䨾剤⯋稇 h1 { color: blue } h2 { color:

    red } <h1> 嗨!</h1> <h1> 呦!</h1> <h2> 嘿!</h2> )5.- $44 $44 嗨! 呦! 嘿! 11
  4. .a { color: blue } .b { color: red }

    <h1 class=“a”> 嗨!</h1> <h1 class=“b”> 呦!</h1> <h2 class=“a”> 嘿!</h2> )5.- $44 $44 嗨! 呦! 嘿! $MBTT4FMFDUPST 鼇《乩剤湱ず$MBTT涸䨾剤⯋稇 DMBTTOBNF 12
  5. #a { color: blue } #b { color: red }

    <h1 id=“a”> 嗨!</h1> <h1 id=“b”> 呦!</h1> <h2 id=“c”> 嘿!</h2> )5.- $44 $44 嗨! 呦! 嘿! *%4FMFDUPST 鼇《乩剤暶㹁*%涸㋲♧⯋稇 JEOBNF 13
  6. $44 겝蒀湱ꡠ铃岁 color background-color border-color Ⰹ俒겝蒀 胝兞겝蒀 㢫呥겝蒀 3(#蒀焺䧴蒀そ background-opacity

    胝兞♶鷴僈䏞 FYGDDDSFEXIJUF 3(#蒀焺䧴蒀そ FYGDDDSFEXIJUF 3(#蒀焺䧴蒀そ FYGDDDSFEXIJUF _⼦꟦ FY 15
  7. $44 俒㶶湱ꡠ铃岁 font-size line-height text-align Ⰹ俒㣐㼭 俒㶶遤넞 俒㶶㼩뢶 QY䧴FN FYQYFN

    left、center、right QY䧴FN FYQYFN text-decoration 俒㶶酤귇 underline、line-through 16
  8. $44 鼹呥湱ꡠ铃岁 border-color border-style border-width 㢫呥겝蒀 㢫呥괐呔 㢫呥磧稣 dotted、dashed、solid QY䧴FN

    FYQYFN 3(#蒀焺䧴蒀そ FYGDDDSFEXIJUF border-radius 㢫呥磧稣 QY䧴FN䧴 FYQY 17
  9. $44 鼹呥湱ꡠ铃岁 border-color border-style border-width 㢫呥겝蒀 㢫呥괐呔 㢫呥磧稣 dotted、dashed、solid QY䧴FN

    FYQYFN 3(#蒀焺䧴蒀そ FYGDDDSFEXIJUF border-radius 㢫呥磧稣 QY䧴FN䧴 FYQY 21