[SEB_FE_45] 2023.04.14 / HTML, CSS ํ™œ์šฉ(1)

Kayยท2023๋…„ 4์›” 17์ผ
0

๐Ÿ“– [๊ฐ•์˜ ๋‚ด์šฉ ๋ฐ ๊ฐœ๋… ์ •๋ฆฌ]
๋ชฉ์ฐจ

  • ์™€์ด์–ด ํ”„๋ ˆ์ž„
  • Flexbox
  • ๋ฐฐ์šด ๋‚ด์šฉ์„ ๋‚ด ๊ฒƒ์œผ๋กœ ๋งŒ๋“œ๋Š” ๊ณผ์ œ
  • 2023.04.14 ๋ฆฌ๋ทฐ

[์™€์ด์–ด ํ”„๋ ˆ์ž„]

  • ์™€์ด์–ดํ”„๋ ˆ์ž„(Wirefram): ๋ ˆ์ด์•„์›ƒ, ์ฆ‰ ํ™”๋ฉด์˜ ์˜์—ญ์„ ๊ตฌ๋ถ„ํ•˜๋Š” ๊ฒƒ
  • ๋ชฉ์—…(Mock-up): ๋ฐ์ดํ„ฐ๊ฐ€ ์žˆ๋‹ค๊ณ  ๊ฐ€์ •ํ•˜๊ณ  ์‹ค์ œ API response์™€ ๋™์ผํ•˜๊ฒŒ object ํ˜•ํƒœ๋ฅผ ๋งŒ๋“ค์–ด ํŽ˜์ด์ง€๋ฅผ ๋งŒ๋“œ๋Š” ๊ฒƒ์„ ์˜๋ฏธ

cf) ํด๋ž˜์Šค ์ด๋ฆ„๊ณผ ๊ตฌํ˜„์„ 1:1๋กœ ์ผ์น˜์‹œ์ผœ ์•„์ฃผ ์ž‘์€ ๋‹จ์œ„๋กœ CSS๋ฅผ ์ž‘์„ฑ ๊ธฐ๋ฒ•์„ Atomic CSS ๋ฐฉ๋ฒ•๋ก 

/* Reset CSS */
* {
    margin: 0;
    box-sizing: border-box;
}
  
body {
    font-family: "Noto Sans KR", sans-serif;
}
  
a {
    color: inherit;
    text-decoration: none !important;
}
  
button,
input,
textarea {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 16px;
    background-color: transparent;
    border: none;
}
  
button:focus,
button:active,
input:focus,
input:active,
textarea:focus,
textarea:active {
    outline: none;
    box-shadow: none;
}
  
ul,
ol,
li {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

[Flexbox]

์ด์ „์— Flexbox์— ๋Œ€ํ•ด ์ •๋ฆฌํ•ด๋‘์—ˆ๋˜ ๋งํฌ์ด๋‹ค.
(0) CSS - display: flex;

[๋ฐฐ์šด ๋‚ด์šฉ์„ ๋‚ด ๊ฒƒ์œผ๋กœ ๋งŒ๋“œ๋Š” ๊ณผ์ œ]

๊ณ„์‚ฐ๊ธฐ ๋ ˆ์ด์•„์›ƒ ๋งŒ๋“ค๊ธฐ

[2023.04.14 ๋ฆฌ๋ทฐ]

์ฒซ ํŽ˜์–ดํ”„๋กœ๊ทธ๋ž˜๋ฐ์„ ์ง„ํ–‰ํ–ˆ๋‹ค.
๋‚ฏ๊ฐ€๋ฆผ์ด ๋งŽ์•„ ๊ฑฑ์ •์ด ๋งŽ์•˜์ง€๋งŒ ์„œ๋กœ ์ข‹์€ ์ •๋ณด๋ฅผ ๊ณต์œ ํ•˜๊ณ  ์ฝ”๋“œ ๋ฆฌ๋ทฐ๋ฅผ ํ•  ์ˆ˜ ์žˆ์–ด์„œ ์ข‹์€ ์‹œ๊ฐ„์ด์—ˆ๋‹ค!

CSS ๋ฌธ์„œ๋ฅผ ์ž‘์„ฑํ•˜๋‹ค๋ณด๋ฉด ๋ณดํ†ต ์“ฐ๋˜ ์†์„ฑ๋“ค๋งŒ ์“ฐ๊ฒŒ ๋˜๋Š”๋ฐ ์ด๋ฒˆ์— ๋‹ค์–‘ํ•œ ์†์„ฑ๋“ค์— ๋Œ€ํ•ด ๊ณต๋ถ€ํ•˜๋ฉฐ ์ ์šฉํ•ด์•ผ๊ฒ ๋‹ค๋Š” ๋‹ค์ง์„ ํ–ˆ๋‹ค!

0๊ฐœ์˜ ๋Œ“๊ธ€