<div class="element">
Element 1 with fixed scale
</div>
<div class="xy-scale">
different x and y scale
</div>
body {
  padding: 0;
	text-align: center;
  font-family: Helvetica, sans-serif;
}
.element {
  background-color: #0074d9;
  height: 20px;
  width: 20px;
  transform: scale(20);
  font-size: 1px;
  padding: 1px;
  color: white;
  line-height: 2px;
	margin: 0px 0px 30px;
}
.xy-scale {
	float: right;
  background-color: #000;
  height: 20px;
  width: 20px;
  transform: scale(20,30);
  font-size: 1px;
  padding: 1px;
  color: white;
  line-height: 2px;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.