Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[purple].roll[/purple] img [teal]{[/teal] [blue]display:[/blue] [green]inline[/green]; [teal]}[/teal]
[purple].roll[/purple] span [teal]{[/teal] [blue]display:[/blue] [green]none[/green]; [teal]}[/teal]
[purple].roll[/purple][teal]:[/teal]hover img [teal]{[/teal] [blue]display:[/blue] [green]none[/green]; [teal]}[/teal]
[purple].roll[/purple][teal]:[/teal]hover span [teal]{[/teal] [blue]display:[/blue] [green]inline[/green]; [teal]}[/teal]
[b]<span[/b] [maroon]class[/maroon][teal]=[/teal][green][i]"roll"[/i][/green][b]>[/b]
[b]<img[/b] [maroon]src[/maroon][teal]=[/teal][green][i]"whatever.png"[/i][/green][b]>[/b]
[b]<span>[/b]Whatever in words[b]</span>[/b]
[b]</span>[/b]
a.rollover{
width:80px; [green]Width and height should match image dimensions, to avoid changes, and page jumping[/green]
height:25px;
display:block;
background-image:url('image.png');
}
a.rollover span{
display:none;
}
a.rollover:hover{
background-image:none;
}
a.rollover:hover span{
display:inline;
}
</script>
<body>
<a href="#" class="rollover" ><span>rollover Text</span></a>
</body>