<!DOCTYPE HTML> <style> body { background-color:black; } div { transform: scale(0.3); transform-origin: 0 0; width: 512px; height: 256px; background: white; } </style> <div></div>