The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
| /** | |
| * Matrix 3d transform for obtaining trapezoid? (SO) | |
| * http://stackoverflow.com/q/14480341/1397351 | |
| */ | |
| * { | |
| transform-style: preserve-3d; | |
| } |
| .shadow { | |
| position: relative; | |
| top: 20px; | |
| height: 20px; | |
| } | |
| .shadow:before { | |
| position: absolute; | |
| content: ''; | |
| left: 0; | |
| right: 0; |