1. Home
  2. Computing & Technology
  3. Web Design / HTML

:hover

By , About.com Guide

:hover Description:

The :hover pseudo-class matches elements as you mouse over them.

:hover Web Browser Support:
:hover in CSS Versions:
:hover Examples:

Set the hover color of all elements on a page

<style>
:hover { color: #f00; }
</style>
:hover Special Notes:
  • Most browsers only support this pseudo-class on the a element.
More :hover Information:
Explore Web Design / HTML
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. CSS
  5. CSS Pseudo Properties
  6. The :hover Pseudo-Class - CSS 1 XHTML 1.0 HTML 4.0>

©2009 About.com, a part of The New York Times Company.

All rights reserved.