CSS-Tricks Follow rotate() The rotate() function spins an element either clockwise or counterclockwise in a 2D plane. rotate() originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well. https://css-tricks.com/almanac/functions/r/rotate/ css-tricks.com