{"id":14148,"date":"2011-09-06T19:47:21","date_gmt":"2011-09-07T02:47:21","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=14148"},"modified":"2021-07-14T12:36:57","modified_gmt":"2021-07-14T19:36:57","slug":"active","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/selectors\/a\/active\/","title":{"rendered":":active"},"content":{"rendered":"\n
The For instance, here’s CSS that will make anchor links bump down one pixel (giving the impression of being pushed in three-dimensional space) in the active state:<\/p>\n\n\n\n:active<\/code> pseudo selector changes the appearance of a link while it is being activated (being clicked on or otherwise activated). It’s usually only seen for a split second, and provides visual feedback that the element was indeed clicked. It’s most typically used on anchor links (
<a href=\"#\"><\/a><\/code>).<\/p>\n\n\n\n