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

CSS入門 情報の形を視覚化する

Atsushi Tadokoro
May 07, 2014
440

CSS入門 情報の形を視覚化する

Atsushi Tadokoro

May 07, 2014
Tweet

Transcript

  1. ελΠϧઃఆͷجຊ ྫɿ ! p {color:blue} ! ! ‣ ద༻͢ΔཁૉˠQཁૉ ஈམ

     ‣ ద༻͢ΔϓϩύςΟˠDPMPS ৭  ‣ ద༻͢Δ஋ˠCMVF ੨
  2. $44Λ༻͍ͨจࣈͷσβΠϯ ‣ ·ͣ͸ɺ࣮ࡍʹ$44Λهड़ͯ͠ΈΔ ‣ ઌि࡞੒ͨ͠ɺࣗݾ঺հͷ$44Λར༻͢Δ ‣ $44ϑΝΠϧͷ४උ ‣ )5.-ͱಉ͡֊૚ͷϑΥϧμʹzDTTzϑΥϧμΛ৽ن࡞੒ ‣

    lEFGBVMUDTTzͱ͍͏ϑΝΠϧΛ࡞੒ ‣ lEFGBVMUDTTzΛlDTTz಺ʹอଘ JOEFYIUNM DTT ϑΥϧμ EFGBVMUDTT JNH ϑΥϧμ ը૾ϑΝΠϧ
  3. $44Λ༻͍ͨจࣈͷσβΠϯ ‣ )5.-ϑΝΠϧ಺ʹҎԼͷهड़Λ௥Ճ͢Δ ‣ IFBEཁૉͷதʹɺMJOLཁૉͱͯ͠$44ͷ৔ॴΛࢦఆ͢Δ <!DOCTYPE html> <html lang="ja"> <head>

    <meta charset="utf-8" /> <title>自己紹介</title> <link rel="stylesheet" href="css/default.css" type="text/css" /> </head> ...
  4. $44Λ༻͍ͨจࣈͷσβΠϯ ‣ ௕͞ɺେ͖͞ͷ୯Ґ ୯Ґ ୯Ґ QY ϐΫηϧ QU ϙΠϯτ FN

    ਌ཁૉͷจࣈαΠζΛͱͨ͠ͱ͖ͷൺ཰  ਌ཁૉͷจࣈαΠζΛͱͨ͠ͱ͖ͷൺ཰
  5. $44Λ༻͍ͨจࣈͷσβΠϯ ‣ ͞Βʹจࣈͷ৭Λࢦఆͯ͠ΈΔ h1 { font-size: 1.75em; color: #3399cc; }

    h2 { font-size: 1.25em; color: #3399cc; } p { font-size: 0.8em; color: #333333; } li { font-size: 0.8em; color: #333333; }
  6. ࢀߟɿίϯϐϡʔλͷ৭ͷࢦఆ ‣ ৭Λࢦఆ͢Δʹ͸  ‣ 3 ੺ ( ྘ #

    ੨ ͷࡾݪ৭Ͱࢦఆ͢Δ ‣ Ճ๏ࠞ৭ ޫͷࡾݪ৭Ͱ͋Δ͜ͱʹ஫ҙ  ޫͷࡾݪ৭ ৭ྉͷࡾݪ৭
  7. ࢀߟɿίϯϐϡʔλͷ৭ͷࢦఆ ‣ ৭ͷ֊ௐ ! ‣ 3CJU ਐ਺ ⒎ ਐ਺ 

    ‣ (CJU ਐ਺ ⒎ ਐ਺  ‣ #CJU ਐ਺ ⒎ ਐ਺  ! ‣ 3(#ͷ૊Έ߹ΘͤͰɺԿ৭ͷ৭Λ࠶ݱͰ͖Δͷ͔  ‣ ਐ਺Ͱ͸ɺ ‣ YY   CJU  ‣ ਐ਺Ͱ͸ɺ ‣  ‣ ਐ਺Ͱ͸ɺ ‣ ⒎⒎⒎
  8. $44Ͱ༻͍ΒΕΔجຊ୯Ґɿ৭ ‣ ਐ਺ʹΑΔදݱ ‣ 33((##ɿ33ɺ((ɺ##Λʙ''ͷൣғͰࢦఆ ‣ 3(#ɿ3(#Λʙ'ͷൣғͰࢦఆ ! ‣ ਐ਺ʹΑΔදݱ

    ‣ SHC 3 ( # ɿ3(#ΛͦΕͧΕʙͷൣғͰࢦఆ ! ‣ ύʔηϯτʹΑΔදݱ ‣ SHC 3 ( # ɿ3(#ΛͦΕͧΕʙͰࢦఆ
  9. $44Λ༻͍ͨจࣈͷσβΠϯ ‣ จࣈͷഎܠ৭Λࢦఆ͢Δ h1 { font-size: 1.75em; color: #3399cc; }

    h2 { font-size: 1.25em; background-color: #3399cc; color: #ffffff; } p { font-size: 0.8em; color: #333333; line-height: 1.75em; } li { font-size: 0.8em; color: #333333; }
  10. $44Λ༻͍ͨจࣈͷσβΠϯ ‣ ߦἧ͑Λมߋͯ͠ΈΔIཁૉΛηϯλϦϯά h1 { font-size: 1.75em; color: #3399cc; text-align:

    center; } h2 { font-size: 1.25em; background-color: #3399cc; color: #ffffff; } p { font-size: 0.8em; color: #333333; } li { font-size: 0.8em; color: #333333; }
  11. $44Λ༻͍ͨจࣈͷσβΠϯ ‣ ߦؒΛ֦͛Δ h1 { font-size: 1.75em; color: #3399cc; text-align:

    center; } h2 { font-size: 1.25em; background-color: #3399cc; color: #ffffff; } p { font-size: 0.8em; color: #333333; line-height: 1.75em; } li { font-size: 0.8em; color: #333333; }
  12. $44Λ༻͍ͨจࣈͷσβΠϯ ‣ ࣼମͷઃఆ ... ! li { font-size: 0.8em; color:

    #333333; } address{ font-size: 0.75em; font-style: italic; }
  13. $44Λ༻͍ͨจࣈͷσβΠϯ ‣ ςΩετʹؔ͢ΔελΠϧ ϓϩύςΟ ద༻Օॴ ஋ GPOUTJ[F ϑΥϯτͷେ͖͞ αΠζͷ୯Ґ GPOUTUZMF

    ࣼࣈମͷઃఆ OPSNBM JUBMJD PCMJRVF GPOUXFJHIU จࣈͷଠ͞ ʙ OPSNBM CPME UFYUEFDPSBUPJO ԼઢͳͲͷ૷০ OPOF VOEFSMJOF PWFSMJOF  MJOFUISPVHI
  14. $44Λ༻͍ͨจࣈͷσβΠϯ ‣ ࠓ೔ͷ·ͱΊ ͜Ε͚ͩ͸Ա͑ͯཉ͍͠Ϧετ  ! ‣ $44ͷجຊ୯Ґ ‣ ৭ɿ''''''

    ‣ େ͖͞ɿFN  QU QY ! ‣ ςΩετͷදࣔʹؔ͢Δ$44ϓϩύςΟ ‣ େ͖͞ɾଠ͞ɿGPOUTJ[F GPOUXFJHIU ‣ ৭ɿDPMPS CBDLHSPVOEDPMPS ‣ จࣈͷମࡋɿGPOUTUZMF UFYUEFDPSBUJPO ‣ ߦૹΓɿUFYUBMJHO ‣ ߦؒɿMJOFIFJHIU