<!DOCTYPE html>
<html>
  The green square below should be centered.
  <div style="width: 400px; height: 400px; position: absolute;
              perspective: 600px; left: calc(50% - 200px);
              top: calc(50% - 200px); background: green;">
  </div>
</html>