Css selector confusion

Css selector confusion
0.0 0

#1

a:visited{ background: purple; padding: 6px; } /*Doesn't work without declaring*/ a{ background: lightblue; }


#2

Read this article. Basically, you can only change some css properties for visited, and only if they are present in the link state.