Skip to content

Instantly share code, notes, and snippets.

@GreLI
Forked from anonymous/dabblet.css
Created July 28, 2013 19:30
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 GreLI/6099789 to your computer and use it in GitHub Desktop.
Save GreLI/6099789 to your computer and use it in GitHub Desktop.
Трапеция
/**
* Трапеция
*/
.stage {
perspective: 600px;
}
.trapezoid {
width: 600px;
height: 300px;
background: black;
transform: rotateX(30deg) skew(15deg) translateZ(-60px);
}
<div class="stage"><div class="trapezoid"></div></div>
// alert('Hello world!');
{"view":"split","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