์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- ๋ธ๋์น ์์ฑ
- branch ํ์ธ
- Git๋ช ๋ น์ด
- ๋งํฌ๋ค์ด
- ์ฝ๋๋ธ๋ญ
- branch ์์ฑ
- ๋ธ๋์น ํ์ธ
- ![rejected]
- markdown
- branch ์ญ์
- ๋ธ๋์น ์ญ์
- ์ฝ๋๋ธ๋ก
Archives
- Today
- Total
DevLog
[CSS] background & background-color ์์ฑ ์ฐจ์ด ๋ณธ๋ฌธ
๐ง๐ป๐ป ๊ฐ๋ฐ๊ฐ๋ฐ
[CSS] background & background-color ์์ฑ ์ฐจ์ด
Seungjae Lee 2021. 6. 21. 10:25body { background-color: blue; }
body { background: blue; }
์์ ์ฝ๋๋ค์ ์คํํด๋ณด์์ ๋ ๊ฒฐ๊ณผ๋ฌผ์ ์ฐจ์ด๊ฐ ์๋ค.
๊ทธ๋ ๋ค๋ฉด ๋ฌด์์ด ๋ค๋ฅธ ๊ฑธ๊น?
๊ฒฐ๊ณผ๋ถํฐ ๋งํ์๋ฉด background ์์ฑ์ ์ฝ์ด์ด๊ธฐ ๋๋ฌธ์ background-color์ ๊ฒฐ๊ณผ๋ฌผ์ ์ฐจ์ด๊ฐ ์๋ค.
์ฌ๋ฌ ์ค์ ๊ฑธ์ณ ์์ฑ์ ํํํ๋๋, ํ ์ค์ ํด๊ฒฐํ๋๋์ ์ฐจ์ด์ด๋ค.
background-color
background-image
background-position
background-repeat
background-attachment
background-clip
background-origin
background-size
๋ฐ๋ผ์ background-color ์ด์ธ์๋
์์ ๊ฐ์ ์์ฑ๋ค์ background ์ถ์ฝํ ์์ฑ์ ์ด์ฉํ์ฌ ํํํ ์ ์๋ค.
background: #ffffff url("image_example.jpg") no-repeat left bottom;
background ์์ฑ์ ์์๋ ์์ ๊ฐ๋ค.
'๐ง๐ปโ๐ป ๊ฐ๋ฐ๊ฐ๋ฐ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
ํฌ๋กฌ ๊ฐ๋ฐ์ ๋๊ตฌ์์ ํจ์ ์คํ ์๊ฐ ์ธก์ ๋ฐฉ๋ฒ (0) | 2021.10.06 |
---|---|
[HTML] div, section, article <tag>์ ์ฐจ์ด (0) | 2021.06.21 |
react-router ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ค์นํ๊ธฐ (0) | 2021.06.07 |
[CSS] ๋ฐ์ค๋ชจ๋ธ(box model) (0) | 2021.05.27 |
java - ๋ฒ๊ฑฐํน ํค์ค์คํฌ (0) | 2020.09.12 |
Comments