To rotate an element 45 degrees using CSS, the transform: rotate(________); property is used.

  • 45deg
  • 90deg
  • 180deg
  • 360deg
The correct syntax for rotating an element 45 degrees in CSS is transform: rotate(45deg);. This CSS property is widely used for transforming elements, providing various transformation options like rotation, scaling, and skewing.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *