Rotate

noun

say it: “ROH-tayt” /ˈroʊteɪt/

Turning an element around a point by an angle, such as 45deg. In CSS, it's the rotate property or rotate() inside transform.

What does rotate do?

rotate turns an element around a point, in degrees or turns.

.chevron.open { transform: rotate(180deg); }   /* arrow points up */

In a sentence

  • “I added a rotate of 180deg to the arrow so it points up when the menu is open.”

Level: Journeyman · More CSS terms at this level

Updated