+ 2

What is the difference between a:hover and a:active?

a:hover, a:active { background-color: #C74350; color: #fff; text-decoration: none; text-shadow: 1px 1px 1px #333; }

30th Nov 2017, 1:54 AM
Jean-Erolle Remy
Jean-Erolle Remy - avatar
1 Odpowiedź
+ 4
hover: will change when the mouse hovers over the link ---without clicking active: will change when the link is clicked
30th Nov 2017, 2:32 AM
Soheab Al A'amor
Soheab Al A'amor - avatar