<!doctype html> <div style="-moz-transform: rotatex(45deg); -moz-transform-style: preserve-3d; width: 110px;"> <div style="-moz-transform: rotatex(45deg); -moz-transform-style: preserve-3d; width: 110px;"> <div style="-moz-transform: rotatex(45deg); -moz-transform-style: preserve-3d; width: 110px;"> <div style="-moz-transform: rotatex(45deg); width: 100px; height: 100px; background: lime; border-style: solid; border-width: 2px 2px 0 0"> </div> </div> </div> </div>