You should use CSS selector :active for this element: JS Fiddle example
And you should read more about this here: w3schools
all CSS selectors for links:
a:link {color:green;}
a:visited {color:green;}
a:hover {color:red;}
a:active {color:yellow;}