when you see the order of transform in a video tutorial on the Internet, it is mentioned that the execution sequence of transform is written first, for example:
this.style.transform = "rotateZ(180deg) translateX(50px)"
what is explained on the video screen is to perform translation first, then rotate, that is, write first and then execute, but see
mentioned in some blogs on the Internet.: in transform, when we have both displacement and other attributes, remember to put the displacement first, first move to our desired position, and then make other deformations.The meaning of
should be executed in order.
how does transform perform when there are multiple values, and whether the center point of displacement will change? this piece is very confusing. I would appreciate it if someone recommended a good article or answer!