![]() |
VOOZH | about |
The scale() function is an inbuilt function which is used to resize the element in 2D plane. It scales the elements in horizontal and vertical directions.
Syntax:
scale( sx )or
scale( sx, sy )Parameters:
Below examples illustrate the scale() function in CSS:
Example 1:
Output:
👁 Image
Example 2:
Output:
Supported Browsers: The browsers supported by scale() function are listed below: