๐ ์ง์ ์ฑ์ฐ๊ธฐ/์น (ํ๋ก ํธ์๋, ๋ฐฑ์๋)
[HTML&CSS] Combinator, Pseudo selectors - 2 ( UPDATE 2023 - 05 - 27 ) combinator, pseudo selectors div span div ์์ span div > span div ์์ ์ง๊ณ span p + span p ‘๋ฐ๋ก ๋ค์’์ผ๋ก ์ค๋ span p ~ span p ‘๋ค์’ ์ผ๋ก ์ค๋ span ( ๋ฐ๋ก ๋ค์ ์ค์ง ์์ ๋ ์) input:required input์ required ์๋ ๊ฒฝ์ฐ๋ง ์ ์ฉ input[type=“password”] input์ password ํ์
๋ง ์ ์ฉ input[placeholder=“username”] placeholder๊ฐ username ์ธ ๊ฒฝ์ฐ๋ง ์ ์ฉ input[placeholder~=“name”] pl..
๐ ์ง์ ์ฑ์ฐ๊ธฐ/์น (ํ๋ก ํธ์๋, ๋ฐฑ์๋)
[HTML&CSS] Position , Pseudo selectors - 1 ( UPDATE 2023 - 05 - 26 ) Position Position ์ ๋ํดํธ๋ static position : fixed; ์คํฌ๋กค์ ์ฌ๋ฆฌ๋ ๋ด๋ฆฌ๋ ์ด๊ธฐ์ ์ธํ
ํ ๊ทธ ์์น์ ๊ณ ์ ๋จ. ์๋จ ๋ฉ๋ด ๋ฐ ๋ฑ์ ๊ณ ์ ํ ๋ ๋ง์ด ์. position : fixed; (์ฃผ์์ ) top, bottom, left, right ์ค ํ๋๋ผ๋ ์์ ํ๋ฉด, ๋ณ๊ฐ์ ๋ ์ด์ด์ฒ๋ผ ๊ฒน์ณ์ง ๋, fixed๋ฅผ ์ ์ผ ์์๋ก ํ๊ณ ๊ฒน์ณ์ง posititon : relative; ์์น ์กฐ๊ธ ์ฎ๊ธฐ๊ณ ์ถ์ ๋ ์ฌ์ฉ. ์ฒ์ ์์นํ ๊ณณ์ ๊ธฐ์ค์ผ๋ก ์ํ์ข์ฐ๋ก ์์ ํจ. (๋ถ๋ชจ ์์ ๋ฌด์X) position : absolute; ์ํ ์ข์ฐ๋ฅผ ์ด๋ ํ๊ณ ์ถ์ ๋ ์ฌ์ฉํจ. ๋ถ..