例如,给定:
a {color: [unknown color];} /* set elsewhere,out of my control */ a.incognito {color:inherit} /* the text color,typically black */ a.incognito:hover {color: [what?];} /* the color of a non-incognito anchor */
有没有CSS的解决方案让悬停链接不使用同一类的未发现链接的颜色样式?
a.incognito:not(:hover) {color:inherit} /* the text color,typically black */
请注意,IE< = 8不支持此功能.