๐ŸŽจ ํ…์ŠคํŠธ ๊ด€๋ จ

์†์„ฑ ์„ค๋ช… ์˜ˆ์‹œ
color ๊ธ€์ž ์ƒ‰์ƒ color: red;
font-size ๊ธ€์ž ํฌ๊ธฐ font-size: 16px;
font-weight ๊ธ€์ž ๊ตต๊ธฐ (normal, bold, 100~900) font-weight: bold;
font-family ๊ธ€๊ผด ์ข…๋ฅ˜ font-family: Arial, sans-serif;
text-align ์ •๋ ฌ (left, center, right) text-align: center;
line-height ์ค„ ๊ฐ„๊ฒฉ line-height: 1.5;
letter-spacing ๊ธ€์ž ๊ฐ„๊ฒฉ letter-spacing: 2px;
text-decoration ๋ฐ‘์ค„ ๋“ฑ (none, underline, line-through) text-decoration: none;
text-transform ๋Œ€์†Œ๋ฌธ์ž ๋ณ€ํ™˜ (uppercase, lowercase, capitalize) text-transform: uppercase;

๐Ÿ“ฆ ๋ฐ•์Šค ๋ชจ๋ธ (ํฌ๊ธฐ, ์—ฌ๋ฐฑ)

์†์„ฑ ์„ค๋ช… ์˜ˆ์‹œ
width / height ๋„ˆ๋น„ / ๋†’์ด width: 200px;
padding ์•ˆ์ชฝ ์—ฌ๋ฐฑ padding: 10px;
margin ๋ฐ”๊นฅ ์—ฌ๋ฐฑ margin: 20px;
border ํ…Œ๋‘๋ฆฌ border: 1px solid black;
box-sizing ํฌ๊ธฐ ๊ณ„์‚ฐ ๋ฐฉ์‹ (content-box, border-box) box-sizing: border-box;

๐Ÿ–ผ๏ธ ๋ฐฐ๊ฒฝ ๊ด€๋ จ

์†์„ฑ ์„ค๋ช… ์˜ˆ์‹œ
background-color ๋ฐฐ๊ฒฝ์ƒ‰ background-color: #f0f0f0;
background-image ๋ฐฐ๊ฒฝ ์ด๋ฏธ์ง€ background-image: url('bg.jpg');
background-size ์ด๋ฏธ์ง€ ํฌ๊ธฐ (cover, contain) background-size: cover;
background-repeat ๋ฐ˜๋ณต ์—ฌ๋ถ€ background-repeat: no-repeat;
background-position ๋ฐฐ๊ฒฝ ์œ„์น˜ background-position: center;

๐Ÿ‘ฃ ์œ„์น˜/์ •๋ ฌ ๊ด€๋ จ

์†์„ฑ ์„ค๋ช… ์˜ˆ์‹œ
display ์š”์†Œ ์œ ํ˜• (block, inline, flex, none) display: flex;
position ์œ„์น˜ ์ง€์ • (static, relative, absolute, fixed) position: relative;
top / left / right / bottom ์œ„์น˜ ์กฐ์ • top: 10px;
z-index ์š”์†Œ ์Œ“๋Š” ์ˆœ์„œ z-index: 10;
float ์ขŒ์šฐ ๋„์›€ float: left;
clear float ํ•ด์ œ clear: both;

๐Ÿงญ Flexbox (์ •๋ ฌ์šฉ)

์†์„ฑ ์„ค๋ช… ์˜ˆ์‹œ
display Flexbox๋กœ ์„ค์ • display: flex;
flex-direction ๋ฐฉํ–ฅ (row, column) flex-direction: row;
justify-content ์ฃผ์ถ• ์ •๋ ฌ justify-content: space-between;
align-items ๊ต์ฐจ์ถ• ์ •๋ ฌ align-items: center;
gap ์š”์†Œ ๊ฐ„ ๊ฐ„๊ฒฉ gap: 10px;

๐Ÿ“ฑ ๋ฐ˜์‘ํ˜• ์›น

์†์„ฑ ์„ค๋ช… ์˜ˆ์‹œ
@media ๋ฏธ๋””์–ด ์ฟผ๋ฆฌ (ํ™”๋ฉด ํฌ๊ธฐ ์กฐ๊ฑด)
@media (max-width: 768px) {
  body { font-size: 14px; }
}