CSS 错误警告
:has() unsupported不支持 :has() 选择器
浏览器不支持 :has() 伪类。
browser
查看详情 Scroll snap not workingCSS 滚动吸附行为不符合预期。
滚动容器需要设置 scroll-snap-type,子元素需要设置 scroll-snap-align。容器的 overflow 必须正确设置。padding 和 margin 可能干扰吸附点。
在容器上添加 scroll-snap-type,在子元素上添加 scroll-snap-align。在容器上设置 overflow: auto 或 overflow: scroll。确保容器有明确的尺寸定义。使用 DevTools 检查吸附点。
:has() unsupported浏览器不支持 :has() 伪类。
Undefined CSS variable引用了一个未定义的 CSS 自定义属性(变量)。
Font loading failed无法从指定 URL 加载 Web 字体。
aspect-ratio ignoredaspect-ratio 属性对元素不起作用。
Missing semicolonCSS 声明末尾缺少分号。
Subgrid unsupported浏览器不支持 grid-template-columns 或 grid-template-rows 的 subgrid 值。