Rollover (web Design) - Coding

Coding

There are several different ways to create a rollover. This is an example of a rollover in CSS and HTML:

CSS

a { display: block; width: 100px; height: 30px; background-image: url(default.png); color: white; } a:hover { background-image: url(rollover.png); color: lightpink; }

HTML

Wikipedia

Read more about this topic:  Rollover (web Design)