<!DOCTYPE HTML> <html> <body> <div style="-moz-transform:scale(0.5); -moz-transform-origin:top left; border:10px solid black; border-radius:20px;"> <div style="width:100px; height:100px; background:yellow"></div> </body> </html>