每日 Harness 开源 · Source
返回本期 · Back to 2026-09-24

博客文章 · Blog Posts2026-09-24 · Thursday, September 24, 2026

Shadow roots, explained with live examples

simonwillison.net原文 ↗

Shadow roots, explained with live examples
文章用实时交互例子讲清 CSS shadow roots 的封装边界、样式隔离和嵌套影响。相较只读规范,操作式演示把“为什么外部选择器不生效”变成可观察实验,适合排查组件样式问题。
–浏览

评论 · Comments