Skip to content

Instantly share code, notes, and snippets.

@justmarkup
Created February 9, 2013 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justmarkup/4744780 to your computer and use it in GitHub Desktop.
Save justmarkup/4744780 to your computer and use it in GitHub Desktop.
/**
* Webplatform example for http://docs.webplatform.org/wiki/css/properties/transform
* transform: rotate(20deg)
* Rotate the object by 20deg
*/
.rotate {
-ms-transform: rotate(40deg);
-webkit-transform: rotate(40deg);
-o-transform: rotate(40deg);
-moz-transform: rotate(40deg);
transform: rotate(40deg);
width: 10em;
height: 10em;
background-color: orange;
}
<div class="rotate"></div>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment