Version:

I want to rotate an element. Do I use the X, Y or Z rotate property?

If you’re trying to rotate the element front on, use the Z rotate property.

The Z rotate property will rotate the element clockwise or anti-clockwise. To apply it to an element, first navigate to the Style builder. Then:

  1. Navigate to Properties > Transform and Transition > Transform
  2. Within the Z rotate field
  3. Enter a number. This will be interpreted as degrees
  4. Positive numbers will rotate the element clockwise, negative numbers will rotate the element anti-clockwise.

Read more about it and try using it here: https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/rotateZ

DX8 knowledge base icon

Frequently asked questions

Get instant answers to common questions. Available online 24/7.

Find answers

Raise a ticket icon

Raise a support ticket

To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

Raise support ticket

Acquia

Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.