2025-02-03T19:29:18
This commit is contained in:
@@ -14,6 +14,15 @@
|
||||
}
|
||||
```
|
||||
|
||||
| 속성 | 설명 | 옵션 |
|
||||
|---|---|---|
|
||||
| background-image | 배경에 이미지 추가 | url('image.jpg'), none |
|
||||
| background-size | 배경 이미지 크기 조정 | auto, cover, contain, px, % |
|
||||
| background-position | 배경 이미지 위치 지정 | left top, center center, right bottom, % |
|
||||
| background-repeat | 배경 이미지 반복 설정 | repeat, no-repeat, repeat-x, repeat-y |
|
||||
| background-attachment | 배경 이미지 스크롤 여부 | scroll, fixed, local |
|
||||
| background-blend-mode | 배경과 이미지 혼합 모드 | normal, multiply, overlay, screen |
|
||||
|
||||
### background-color
|
||||
요소의 배경 색을 지정
|
||||
* 색상 값: red, #ff0000, rgb(255, 0, 0), rgba(255, 0, 0, 0.5), transparent 등
|
||||
@@ -108,6 +117,8 @@
|
||||
background-origin: content-box;
|
||||
}
|
||||
```
|
||||
### background-blend-mode
|
||||
* normal, multiply, overlay, screen
|
||||
|
||||
## color
|
||||
글자 색상을 지정
|
||||
|
||||
Reference in New Issue
Block a user