Created
February 9, 2013 14:40
-
-
Save justmarkup/4745494 to your computer and use it in GitHub Desktop.
Webplatform example for http://docs.webplatform.org/wiki/css/properties/transform
This file contains 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: scale(3, 0.5) | |
* Scales the element by the factor of 3 on the x axis and by the factor of 0.5 by the y axis | |
*/ | |
.scale { | |
-ms-transform: scale(3, 0.5); | |
-webkit-transform: scale(3, 0.5); | |
-o-transform: scale(3, 0.5); | |
-moz-transform: scale(3, 0.5); | |
transform: scale(3, 0.5); | |
width: 10em; | |
height: 10em; | |
background: green | |
} |
This file contains 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="scale"></div> |
This file contains 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 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