background 썸네일형 리스트형 background 속성 오늘은 간혹 헛갈리는 background(백그라운드) 속성에 대해서 정리를 해볼까 합니다. 먼저 백그라운드를 컨트롤 할 수 있는 속성에는 총 6가지가 있습니다. background-color /*색상지정*/ background-image /*이미지 경로지정*/ background-size /*이미지 크기지정*/ background-repeat /*이미지 반복지정*/ background-position /*이미지 위치지정*/ background-attachment /*스크롤 지정*/ background 한줄 작성법 background:red url('이미지경로')no-repeat scroll 0px 20px/100px 100px; background-color background-color:#ffffff;.. 이전 1 다음