The correct answer is: D. all of the mentioned
The translate() function takes two arguments: the horizontal and vertical offsets. The translate2d() function is the same as translate(), but it takes two arguments
translate3d() function is the same as translate2d(), but it takes three arguments in the form of a three-dimensional array.
Here is an example of how to use the translate() function to move an element 10px to the right and 20px down:
“`
“`
Here is an example of how to use the translate2d() function to move an element 10px to the right and 20px down:
“`
“`
Here is an example of how to use the translate3d() function to move an element 10px to the right, 20px down, and 30px forward:
“`
“`