CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS :hover Selector

CSS :hover Selector

 

 

The :hover selector is used to selecting elements when we mouse over them. This selector can be used on all elements. It is used in combination with :link, :visited, and :active selectors. However, it must come after :link and :visited and before :active.

 

Syntax:-

 

Its syntax is:-
:hover {
  css declarations;
}

Code Explanation

All Tutorials related to CSS Selectors

All Sections related to CSS