css - a:visited links - opacity not working -


i'm trying make when link has been visited, persistently color , opacity matches non-visited links when webkit transitions them.

using this:

a:visited {     color:#cc7839;     opacity:0.1; } 

i can visited links color, except opacity isn't doing anything. set 0.1 make easier see if working.

when hover on visited link, transitions opaque color set webkit a:link:hover.

here's css that's in file setting links:

a:link:hover,a:hover,a:visited:hover    {     color: #cc7839;     opacity:0.8;     text-decoration:none;     -webkit-transition:all 0.5s ease-in;      -moz-transition:all 0.5s ease-in; } 

i'm thinking have change latter css in terms of "a"s specifies?

not possible. can use :visited selector change color of element. opacity doesn't work.

sec7115

:visited , :link styles can differ color.

reference here - unable find w3 documentation stating it..


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -