Home
CSS
CSS 2D Transforms
Tryit: The scale() method
Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Save Code
Ctrl+Alt+A
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
The scale() Method
The scale() method increases or decreases the size of an element.
This div element is two times of its original width, and three times of its original height.