HoverCraft

Last updated: 08.05.2002


The 'hover' pseudo-class for the A element allows some surprisingly varied animation effects (in compatible browsers) using only plain text and stylesheets. No JavaScript and no images are required. This page demonstrates some of the possibilities. To see how they were done, use your browser's "View Source" feature.


Color changer

Gallery
Other Worlds
Poetry

Underliner

Gallery
Other Worlds
Poetry

Inverter

Gallery
Other Worlds
Poetry

Italicizer

Gallery
Other Worlds
Poetry

Boldener

Gallery
Other Worlds
Poetry

Boxer

Gallery
Other Worlds
Poetry

Blockleft

Gallery
Other Worlds
Poetry

Boxer + inverter

Gallery
Other Worlds
Poetry

Menuoid

Gallery
Other Worlds
Poetry


Note that these effects won't work in browsers that don't support the 'hover' pseudo-class selector. More seriously, some of the effects will cause text to be laid out strangely on certain browsers: Netscape Communicator, for example, seems to have trouble with certain attributes including 'padding' and 'border-width', so if you don't want your pages to look horrible on Netscape browsers, you may wish to avoid effects that depend on use of these attributes.


Computing[HOME][LINKS][UP]