๋ชฉ๋ก2022/02/28 (3)
whatisthis?
Background practice (์์ด๋น์ค๋น) index.html Plus Entire apartment 4.97 (203) Unwind in a Bright Space with Rustic Accents Rooms and beds 2 guests 1 bedroom 1 bed 1 bath Amenities Wifi Kitchen style.css .like-button { box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); } /* โผ WHERE YOUR CODE BEGINS */ * { box-sizing: border-box; margin: 0; } body { font-family: "Poppins", sans-serif; } .sr-only { display: no..
1/ background-color ๋ฐฐ๊ฒฝ์์ ๋ฃ์ hex | rgb | rgba 2/ background-image ๋ฐฐ๊ฒฝ์ผ๋ก ์ด๋ฏธ์ง๋ฅผ ๋ฃ์ - url() ํจ์๋ฅผ ์ฌ์ฉํด์ผํจ. - url(์ด๋ฏธ์ง ๊ฒฝ๋ก) or url(์ด๋ฏธ์ง ์ฃผ์) .selector { background-image: url(./assets/image.png); } 3/ backgroud-repeat ๋ฐฐ๊ฒฝ ์ด๋ฏธ์ง ๋ฐ๋ณต ์ฌ๋ถ repeat | no-repeat ๋๋ถ๋ถ์ no-repeat ์ผ๋ก ํจ. ( default ๊ฐ์ repeat์) 4/ background-size ๋ฐฐ๊ฒฝ ์ฌ์ด์ฆ (ํฌ๊ธฐ) contain | cover | custom contain ํฌํจ๋จ (์์ ์์ ๋ชจ๋ ๋ฉด์ด ๋ค ๋ค์ด๊ฐ๊ฒ) - ๋น๊ณต๊ฐ ์๊ฒจ๋ cover ๋น๊ณต๊ฐ ์์ด ๊ฝ ์ฐจ๋๋ก (์ฌ..
Typography Library ์ ์ ํ๋์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ ์. ๐ก ๋ผ์ด๋ธ๋ฌ๋ฆฌ(library)๋? ์ผ์ข ์ kit. ์์ฃผ ์ฌ์ฉํ๋ ์ฝ๋(CSS์ ๊ฒฝ์ฐ์ ํด๋์ค) ๋ฅผ ํ๋ฒ ์ ์ด๋๊ณ ๊ณ์ํด์ ์ฌ์ฉํ ์ ์๊ฒ ํจ. 1/ Noto Sans KR import ํด์ค๊ธฐ - fonts.google ์ด์ฉ font-size์ ๊ทธ์ ์ด์ธ๋ฆฌ๋ line-height, letter-spacing์ ๊ฐ์ด ๋ฌถ์ด์ ์ ์ํ๋ ๊ฒฝ์ฐ๊ฐ ๋ง์. 2/ font-size์ ๋ํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ ์ (typography.css) /* Font size */ .fs-tiny { font-size: 12px; line-height: 1.3333333; letter-spacing: -0.015em; } ์์ ๊ฐ์ด font-size๋ 12px๋ก ํ๊ณ , li..