🀯 CSS λΈŒλΌμš°μ €μ°½ 쒌우(λ„ˆλΉ„) 쀄일 λ•Œ 객체가 움직이지 μ•Šλ„λ‘ ν•˜λ €λ©΄

leehyunjuΒ·2021λ…„ 6μ›” 20일
0
post-thumbnail

πŸ’¬ νšŒμ‚¬ 업무쀑 μ˜€ν”ˆλ§ˆμΌ“ κΈ°νšμ „ μž‘μ—…ν•˜λ‹€κ°€ 생긴 μ΄μŠˆμ •λ¦¬

[HTML λ§ˆν¬μ—…]

<!-- λ™μ˜μƒ -->
   <div class="promotion-content-03">
      <div class="content-wrap">
        <div class="content-movie">
          <λ„£μœΌλ €λŠ” λ™μ˜μƒ λ˜λŠ” 이미지 />
        </div>
      </div><!-- //λ™μ˜μƒ -->
    </div>

[CSS μž‘μ—…]

#promotionWrapBody .promotion-content-03 {position: relative; height: 1191px; overflow: hidden; width: 1920px;}
#promotionWrapBody .promotion-content-03 .content-wrap {position: absolute; top:317px; left: 1403px;}
#promotionWrapBody .promotion-content-03 .content-wrap .content-movie { border-radius: 50%; width: 135px; height: 135px; overflow: hidden;box-sizing: border-box;}

λΆ€λͺ¨ν•œν…Œ 높이와 λ„ˆλΉ„κ°’μ„ 지정해주고 μœ„μΉ˜ 고정은 κ·Έ λ°”λ‘œ 밑에 μžμ‹ν•œν…Œ μž‘μ•„μ£Όλ©΄ λœλ‹€.

profile
μ•„λŠ‘ν•œ λ‡Œκ³΅κ°„ 🧠

0개의 λŒ“κΈ€

κ΄€λ ¨ μ±„μš© 정보