UI Components์ถœ์ฒ˜: CSS-Tricks์กฐํšŒ์ˆ˜ 4

The Different Ways to Select <html> in CSS

By Daniel Schwarz
2026๋…„ 3์›” 5์ผ
**The Different Ways to Select in CSS**

Temani Afif recently did this exercise and I thought Iโ€™d build off of it. Some of these are useful. Thereโ€™s a bird at the end. html html { /* I mean, duh */ } :root :root { /* Sarsaparilla, anyone. */ } :root is a CSS pseudo-class that matches the root element of the current (XML) document...

---

**[devsupporter ํ•ด์„ค]**

์ด ๊ธฐ์‚ฌ๋Š” CSS-Tricks์—์„œ ์ œ๊ณตํ•˜๋Š” ์ตœ์‹  ๊ฐœ๋ฐœ ๋™ํ–ฅ์ž…๋‹ˆ๋‹ค. ๊ด€๋ จ ๋„๊ตฌ๋‚˜ ๊ธฐ์ˆ ์— ๋Œ€ํ•ด ๋” ์•Œ์•„๋ณด์‹œ๋ ค๋ฉด ์›๋ณธ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ•˜์„ธ์š”.