π» Computer/html&css (1) μΈλ€μΌν 리μ€νΈν root κ°μ ν΄λμ€ κ°μ ν΄λμ€ : +, >κ°μ μ‘°ν©μλ id, class κ°μ λ¨μ μ νμλ‘ μ νν μ μλ κ²λ€μ μ ννκ² ν΄μ£Όλ μ νμ μ΄λ μμμ μμ±, μν, μλμ μμΉ λ±μ κΈ°λ°νμ¬ μμλ₯Ό μ ννκ² ν΄μ€. ꡬ쑰μ κ°μ ν΄λμ€(structural pseudo-classes) : λ¬Έμ ꡬ쑰μμ μμΉλ, λ€λ₯Έ μμμμ κ΄κ³μ λ°λΌ μμλ₯Ό μ ννλ μ νμ [ꡬ쑰μ κ°μ ν΄λμ€ μ’ λ₯] :root :only-child :nth-child(n) :nth-last-child(n) :first-of-type :last-of-type :only-of-type :nth-of-type(n) :nth-last-of-type(n) :empty :first-child :last-child :root κ°μ ν΄λμ€ λ¬Έμ ꡬ쑰μμ rootμμ.. μ΄μ 1 λ€μ