I have a div tag <div id="preview"></div> with a fixed width and height, and in the preview I’d like to display some html: h1, h2, p, block quotes, lists, all shrunk down so the entire chunk of html fits inside the preview, perfectly scaled and proportioned. How would I go about it? Thanks!
I have a div tag <div id=preview></div> with a fixed width and height, and
Share
Use CSS’s
zoomproperty: