Home » CSS » CSS 2D Transforms » Question
  1. Which of the following moves an element from its current position?
    1. matrix()
    2. scale()
    3. translate()
    4. rotate()
    5. None of these
Correct Option: C

The translate() method moves an element from its current position according to parameters given for X-axis and Y-axis,

div {-ms-transform: translate(12px, 100px); -webkit-transform: translate(12px, 100px); translate(12px, 100px);}



Your comments will be displayed only after manual approval.