CSS - a:visited:hover?

前端 未结 4 967
花落未央
花落未央 2021-02-01 17:17

How can I apply a font color only to hyperlinks which have already been visited and are being hover by the mouse?

Essentially, wha

4条回答
  •  执念已碎
    2021-02-01 17:29

    there is a sequence between link css to take effect.. a:hover must come after a:link and a:visited and a:active must come after a:hover for more details refer below link..

    http://www.w3schools.com/css/css_pseudo_classes.asp

提交回复
热议问题