Skip to content

Instantly share code, notes, and snippets.

@3200creative
Last active December 25, 2015 00:29
Show Gist options
  • Save 3200creative/6887770 to your computer and use it in GitHub Desktop.
Save 3200creative/6887770 to your computer and use it in GitHub Desktop.
90 degree rotation of div.
.rotated-div {
/* FF Chrome Opera etc */
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
/* IE */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment