JSFiddle - React, Tailwind, and code Playground
by amustill
HTML
<div></div>
CSS
body {
-webkit-perspective: 500px;
-moz-perspective: 500px;
}
div {
margin: 30px;
height: 300px;
background-color: #666;
-webkit-transform: rotateX(45deg);
-moz-transform: rotateX(45deg);
}