1<div>Normal</div>
2<div class="scaled">Scaled</div>
3
4<style>
5div {
6 width: 80px;
7 height: 80px;
8 background-color: skyblue;
9}
10
11.scaled {
12 transform: scale(2, 0.5); /* Equal to scaleX(2) scaleY(0.5) */
13 transform-origin: left;
14 background-color: pink;
15</style>