Mobile app version of vmapp.org
Login or Join
Speyer207

: Magnifier glass for text I've seen scripts that allow you to zoom images, i want to do the same for text, is this possible? Like onmouseover or hover it zooms images. i want it for text!

@Speyer207

Posted in: #LookingForAScript #Text

I've seen scripts that allow you to zoom images, i want to do the same for text, is this possible?

Like onmouseover or hover it zooms images. i want it for text! is it possible?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Speyer207

1 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

In at least Firefox & Chrome you can make the text within a block bigger by using the :hover syntax. Apparently this only works for links in IE. Here's an example:

html:

<html>
<head>
<title>magnifying glass example</title>
<link rel="stylesheet" type="text/css" media="screen" href="mag.css" />
</head>
<body>
This text will not magnify.
<div class="magnifiable">
This text can be magnified.
</div>
</body>
</html>


mag.css:

body { color: black; }
div.magnifiable { color: red; }
div.magnifiable:hover { font-size: 200%; }

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme