[Solved] Problem with :visited on class. Why does a:visited work fine, and .myarticle:visited not?
since .myarticle cannot be “visited”, I would go with: a:visited, a:visited > .myarticle{ background-color: red; border-radius: 20px; color: black; } Instead of: <!–The thing, I don’t understand. .myarticle:visited does nothing, ??–> a:visited, .myarticle:visited{ background-color: white; border-radius: 20px; color: black; } :visited status applies to the links, you cannot apply this to the article items 0 … Read more