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)