JSFiddle - React, Tailwind, and code Playground

HTML

<div id="container">
    <div id="test"></div>
</div>

CSS

#container {
    -webkit-transform-style: preserve-3d; 
    -webkit-perspective: none;
}

#test{
    -webkit-transform: rotateX(45deg) rotateZ(-45deg);    
    position: absolute;
    left: 100px;
    top: 100px;
    width: 200px;
    height: 200px;
    background: #ccc;
}