Hello, I am doing the Typesetting a community school homepage assignment and I am having some trouble with changing the font-weight and font-style properties of a:visited. They don’t apply. I know the problem isn’t in the selector since its color property is working, and neither it is in the absence of italic/bold versions of the font because they work in other rulesets. I put the link styling section in JSfiddle
Hey!
It seems as if you can’t actually apply these styles to the “:visited” selector because the browser limits the styles that are allowed to be applied to this selector.
You can only change the color-styles for this selector.
I got it from here:
CSS :visited Selector (w3schools.com)
MDN also mentions the restrictions in its own article about “:visited”
https://developer.mozilla.org/en-US/docs/Web/CSS/:visited
@max.subotin
@mikoMK
Alright, I see. Thanks for pointing this out to me guys