Home  >  Article  >  Web Front-end  >  Help about css a:visited_html/css_WEB-ITnose

Help about css a:visited_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:11:50962browse

Clicking on the same page on a computer will trigger a:visited{}
But when visiting the same page on a mobile phone, sometimes it will trigger and sometimes not.
Please ask for guidance from experts


Reply to discussion (solution)

Are there other pseudo-class styles defined? The pseudo-class style of the a element must be defined in the order of L-V-H-A (:link, :visited, :hover, :active).

Are there other pseudo-class styles defined? The pseudo-class style of the a element must be defined in the order of L-V-H-A (:link, :visited, :hover, :active).
a{color:#0053a5;text-decoration:none;}
a:visited{color:#FFA308;}
a:active{color:#f00;}

PC After clicking on the link on the mobile phone, the color can be changed normally
Some of the links on the mobile phone can change the color, and some cannot

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn