CSS pseudoclass usage

I want to combine a:link and a:visited at once. What is best method?

I am thinking of a:link+visited. This doesn't work though! What to do then? What is the right way?

1 answer

  • answered 2022-04-07 17:45 RiverTam

    Use a comma to apply the same CSS rules to multiple selectors.

    a:link, a:visited { ... }

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum