Skip to content

Instantly share code, notes, and snippets.

@justmarkup
Created February 9, 2013 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save justmarkup/4745494 to your computer and use it in GitHub Desktop.
Save justmarkup/4745494 to your computer and use it in GitHub Desktop.
/**
* 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
}
<div class="scale"></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