scale in html

Solutions on MaxInterview for scale in html by the best coders in the world

showing results for - "scale in html"
Juan José
19 Apr 2020
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>