Scale/zoom a DOM element and the space it occupies using CSS3 transform scale()
The HTML (Thanks Rory) <!DOCTYPE html> <html> <head> <meta name=”description” content=”Sandbox for Stack Overflow question http://stackoverflow.com/q/10627306/578288″ /> <meta charset=utf-8 /> <title>Sandbox for SO question about scaling an element both visually and dimensionally</title> </head> <body> <div id=”wrapper”> <div class=”surrounding-content”> before </div> <div id=”content-to-scale”> <div>something inside</div> <div><img src=”http://placekitten.com/g/150/100″></div> <div>another something</div> </div> <div class=”surrounding-content”> after </div> </div> </body> … Read more