Created
February 9, 2013 10:23
-
-
Save justmarkup/4744780 to your computer and use it in GitHub Desktop.
Webplatform example for http://docs.webplatform.org/wiki/css/properties/transform
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="rotate"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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