CSS position

유관희·2022년 4월 22일
0
post-thumbnail

🧵 position

엘리먼트의 위치를 지정하는 4가지 방법이 있습니다.

  • static
  • relative
  • absolute
  • fixed
    이 4가지 방법을 정확하게 이해하고 사용하는 것이 css를 자유자재로 이용하는데 중요합니다.

static VS relative

position_1.html

absolute

position_2.html

fixed

position_3.html

profile
안녕하세요~

0개의 댓글