HTML5 APPLICATIONS DEVELOPMENT MANUAL

(lu) #1

2D Scaling


Scaling an element will increase or decrease its size. To scale an


object, use the transform property in combination with the scale() method.


The scale() method accepts two values: a factor to adjust its width and


another to adjust its height.


transform: scale(2,4);
Free download pdf