2. What is CSS transform?

2.3. The scale() Method


          The scale() method will enable an element to increase or decrease its size based on its given width and height. It requires two parameters. The first parameter will scale the width while the second parameter is for the height. In the given example below, the div element will triple its width and decrease its height by half. If only one parameter is used in this method, both the width and height will be scaled according to that value. See sample below:


div { transform: scale(3, 0.5); }