未知伪元素或伪类::selection [selection] 在 w3c 验证中验证时显示错误,我也在 css 级别 3 中尝试但没有解决。
请回复如何在w3c中验证。
最佳答案
https://developer.mozilla.org/En/CSS/::selection
Right now, the ::selection CSS pseudo-element is not in any specification on the standard track.
W3C 验证器可能不会验证非标准的东西。
关于css - 未知伪元素或伪类::selection [selection],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10494217/