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

CSS: selector

CSS: selector

Masateru YOSHIMURA

July 10, 2020
Tweet

More Decks by Masateru YOSHIMURA

Other Decks in Technology

Transcript

  1. h1, h2 { text-align: center; } ηϨΫλͷॻ͖ํᶅ·ͱΊͯద༻͢Δ )5.- $44 <h1>ΈΜͳͷ͓ؾʹೖΓ</h1>

    . . . <h2>ΈΜͳͷ͓ؾʹೖΓ</h1> ΧϯϚͰ۠੾Δ ෳ਺ͷཁૉΛର৅ʹ·ͱΊͯελΠϧΛద༻Ͱ͖Δ
  2. h1 img { width: 240px; } ηϨΫλͷॻ͖ํᶆ )5.- Iͷதʹ͋ΔJNH˞ݟग़͠ͷը૾͚ͩʹ͜ͷελΠϧ͕ద༻͞ΕΔ $44

    <h1><img src="***.png" alt="ΈΜͳͷ͓ؾʹೖΓ"></h1> ൒֯εϖʔεͰۭ͚Δ img { width: 240px; } ͜ͷΑ͏ʹॻ͘ͱɺϖʔδͷதͷ ͢΂ͯͷJNHʢը૾ʣͷ෯͕ QYʹࢦఆ͞ΕΔɻ ˞ಛఆͷର৅ʹߜͬͯࢦఆ͍ͨ͠৔߹ ࢖͍෼͚͕ Ͱ͖ΔΑ͏ʹ ͠Α͏
  3. <items class="items my-items”> . . . <items class="items our-items"> DMBTTʹෳ਺ͷ஋ΛೖΕΔ

    )5.- JUFNTʹ͸ڞ௨ͷελΠϧΛɺ PVSJUFNTʹରͯ͠͸ಛఆͷελΠϧΛద༻Ͱ͖Δ ൒֯εϖʔεΛೖΕΔ