728x90
728x90
CSS (3) Background
공부방2022. 11. 9. 13:57CSS (3) Background

배경 - html의 모든 요소들은 각자의 배경을 가지고 있으며 설정이 가능 css background 1. background-color - 배경색 설정 2. background-image - 배경으로 나타낼 이미지 설정 3. background-repeat - 이미지의 반복 4. background-position - 반복되지 않는 배경이미지의 상대 위치 설정 5. background-attachment - 위치 고정 6. background(shorthand) - 속성명을 일일이 쓰지 않고 한줄에 전부 모든 속성을 표현하는 방법 ex) background : color / image │ repeat │ attachment │ position

728x90
728x90
image