Home » CSS » CSS 2D Transforms » Question
  1. Which of the following will rotate an element clockwise or counter-clockwise?
    1. matrix()
    2. skewY()
    3. skewX()
    4. rotate()
    5. None of these
Correct Option: A

The rotate() method rotates an element clockwise or counter-clockwise according to the given degree,

div {-ms-transform: rotate(12deg); /*IE*/ -webkit-transform: rotate(12deg); transform: rotate(12deg); }



Your comments will be displayed only after manual approval.