Jump to content

saila.com

Online media matters

HTML

Pure CSS Text Rollover

Pure CSS Text Rollover

Pure CSS Text Rollover

To see the title of this link mouseover this.

The same CSS works in any element with a title (rollover CSS and see).

Style:
  *[title]:after { content ""; }
  *[title]:hover:after { content: " ("attr(title)") "; }

In addition most inline styles (like background and font) can be applied to the content.

This only works in Gecko-based browsers.

saila.com