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

Whatโ€™s !important #4: Videos & View Transitions, Named Media Queries, How Browsers Work, and More

By Daniel Schwarz
2026๋…„ 1์›” 31์ผ
**Whatโ€™s !important #4: Videos & View Transitions, Named Media Queries, How Browsers Work, and More**

Neither Chrome, Safari, nor Firefox have shipped new features in the last couple of weeks, but fear not because leading this issue of Whatโ€™s !important is some of the web development industryโ€™s best educators with, frankly, some killer content. Maintaining video state across different pages using view transitions Chris Coyier demonstrates how to maintain a videoโ€™s state across different pages using CSS view transitions. He notes that this is fairly easy to do with same-page view transitions, but with multi-page view transitions youโ€™ll need to leverage JavaScriptโ€™s pageswap event to save information about the videoโ€™s state in sessionStorage as a JSON string (works with audio and iframes too), and then use that information to restore the state on pagereveal. Yes, thereโ€™s a tiiiiny bit of audio stutter because weโ€™re technically faking it, but itโ€™s still super neat. Also, CodePen, which Iโ€™m sure you already know was founded by Chris, announced a private beta of CodePen 2.0, which you can request to be a part of...

---

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

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