Text Rotation in CSS

PHOTO EMBED

Wed Apr 29 2020 11:26:35 GMT+0000 (Coordinated Universal Time)

Saved by @Bubbly #css

 .rotate {

  transform: rotate(-90deg);


  /* Legacy vendor prefixes that you probably don
                                
content_copyCOPY

If you’re just trying to turn some text, you can rotate entire elements like this, which rotates it 90 degrees counterclockwise.The rotation property of Internet Explorer’s BasicImage filter can accept one of four values: 0, 1, 2, or 3 which will rotate the element 0, 90, 180 or 270 degrees respectively.

https://css-tricks.com/snippets/css/text-rotation/