Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
有没有办法修复Chrome中CSS3内容属性闪烁的问题?_Css_Google Chrome_Pseudo Element_Css Content - Fatal编程技术网

有没有办法修复Chrome中CSS3内容属性闪烁的问题?

有没有办法修复Chrome中CSS3内容属性闪烁的问题?,css,google-chrome,pseudo-element,css-content,Css,Google Chrome,Pseudo Element,Css Content,我已经创建了一个使用这种样式的页面: nav ul li:before { content: " / "; } nav ul li:last-child:before { content: ""; } 在大多数情况下,除了最后一个元素外,我希望在li元素之前使用a/ 问题是,仅就我所知,在Chrome中,我有时会得到一点/的闪烁,即使它不应该在那个里。它出现了一会儿,然后消失了 其他人看到过或解决过这个问题吗?如果你可以每晚在Webkit或Chrome中复制,我会针对Webkit提交一

我已经创建了一个使用这种样式的页面:

nav ul li:before {
  content: " / ";
}
nav ul li:last-child:before {
  content: "";
}
在大多数情况下,除了最后一个元素外,我希望在li元素之前使用a/

问题是,仅就我所知,在Chrome中,我有时会得到一点/的闪烁,即使它不应该在那个里。它出现了一会儿,然后消失了


其他人看到过或解决过这个问题吗?

如果你可以每晚在Webkit或Chrome中复制,我会针对Webkit提交一份错误报告,如果它只在Chrome中复制。

试试看

nav ul li:not(:last-child):before {
  content: " / ";
}