Why doesn't my keyframe animation for link color work in Chrome?

核能气质少年 提交于 2019-12-01 17:38:24

Old versions (<43) of Chrome use the prefixed @-webkit-keyframes instead of the standard @keyframes. So full support would look like this:

@-webkit-keyframes test
{
   from { color: red; }
   to { color: green; }
}
@keyframes test
{
   from { color: red; }
   to { color: green; }
}

Update:

I've been doing some tests with various different methods and it works only if the link has not been visited (why, I don't know).

Example

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!