낭코쌤 썸네일형 리스트형 CSS 배경(background) background-position : 배경 이미지 위치 조절background-position: [수평위치] [수직위치];수평위치 : left | center | right | 백분율(%) | 길이값(px)수직위치 : top | center | botoom | 백분율(%) | 길이값(px) background-size : 배경 이미지 크기 조절background-size: auto | contain | cover | 백분율(%) | 크기값(px); background-size: auto; 원래 배경 이미지 크기 그대로 표시된다.background-size: container; 요소 안에 배경이미지 전체가 표시되도록 확대하거나 축소한다.background-size: cover; 요소 전체를 모두 덮도록 .. 더보기 이전 1 다음