'Zoom in on text within an iframe

I created a iframe containing text, and I added a zoom feature that zooms in on the iframe using:

document.getElementById("textarea").style.zoom = percentage;

However, when I use that to zoom in, it makes the iframe "bigger" but the size of the text within the it remains the same. How can I zoom in on the text specifically?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source