Search within TutorialsPark

CSS Pseudo Class Selector :hover


Matches elements that occupy the position onscreen under the mouse pointer .


Definition and Notes.

1. CSS Pseudo Selector :hover selects and styles any element over which the user's mouse pointer hovers.

2. Browser will apply styles when the pointer hovers over and removes styles when the pointer moves out of the element on screen.


Pattern:

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

View in Splitscreen»

Code-Editor:

Note:In above Example, CSS styles are applied to links which over which the mouse pointer moves onscreen.

Related Examples.