Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在 CDN 上引用 CSS 和 selectivizr.js 时,:last-child 伪类不起作用。但是,如果我仅在本地引用 CDN 和 CSS 上的 selectivizr.js,则伪类可以工作。有什么想法吗?
从selectivirz.com:
由于浏览器安全限制,样式表必须与页面托管在同一域中。同样,使用该协议加载的样式表file:也不起作用。
file: