Search within TutorialsPark

CSS Pseudo Class Selector :active


The elements are styled if the element is clicked .


Definition and Notes.

1. CSS Pseudo Selector :active selects and styles element for a the period when the user clicks on them.

2. The CSS styles are applies only for the time period when the element was activated, which is usually a split second, hence it may even go un-noticed.


Pattern:

CSS :active Pseudo Class selector. internetexplorer safari firefox opera chrome

View in Splitscreen»

Code-Editor:

Note:Interpretation of this selector depends upon the browser.

Related Examples.