我可以将哪些样式应用于 :visited 链接? 似乎只有颜色有效。
我了解隐私问题。是否有一种非侵入式的样式设置方式:访问过的链接?
最佳答案
You will still be able to visually style visited links, but there are now limits on what styles you can use. Only the following properties can be applied to visited links:
- color
- background-color
- border-color (and its sub-properties)
- outline-color
- The color parts of the fill and stroke properties
关于css - 设计 :visited pseudo element 的样式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6319109/