hover

The hover CSS pseudo-class applies while the element is designated with a pointing device, but not activated.

Syntax

selector:hover
{
    property: value;
}

Examples

Internal

active

any-link

link

visited

External

World Wide Web Consortium (W3C)

Home Menu