+ 4
Scale()
I don't understand about this in actual that what is the use of this function. Is it same as rotate()?
3 Respuestas
+ 5
rotate spins or turns the element
scale makes the element bigger or smaller
+ 3
You can see on the third slide and play around with it in Try It Yourself:
https://www.sololearn.com/learn/HTML/2203/?ref=app
If you're not used to thinking in Cartesian graphs / coordinate systems, maybe it would be helpful to think about the Y direction as a person on their tip-toes reaching for the sky trying to be tall and take up as much vertical space as possible while the X could be a person trying to prevent someone from walking around them and take up as much horizontal space as possible. These parameters are in alphabetical order.
scale(x, y)
I hope this helps.
+ 2
And what about the values that pass as arguments in ( ) braces