<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>[shape]</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, minimum-scale=0.5, user-scalable=yes" />
<style>
html {
font-size: 62.5%;
text-align:center;
}
body {
text-align:center;
margin:auto;
padding-top:20px;
}
*{
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing:border-box;
margin:0;
padding:0;
font-size: 2rem;
line-height:2.5rem;
}
.row {
overflow: hidden;
}
.shape {
position: relative;
width: 150px;
height: 70px;
line-height: 70px;
margin: 0 auto;
background: #cccccc;
color:#ffffff;
}
.shape:before, .shape:after {
-webkit-transform: rotate(-30deg);
-moz-transform: rotate(-30deg);
-ms-transform: rotate(-30deg);
-o-transform: rotate(-30deg);
transform: rotate(-30deg);
width: 50px;
height:100px;
background: #cccccc;
content: '';
}
.shape:before {
position: absolute;
bottom: 0;
left: 0;
-webkit-transform-origin: left bottom;
-moz-transform-origin: left bottom;
-ms-transform-origin: left bottom;
-o-transform-origin: left bottom;
transform-origin: left bottom;
}
.shape:after {
position: absolute;
top: 0;
right: 0;
-webkit-transform-origin: right top;
-moz-transform-origin: right top;
-ms-transform-origin: right top;
-o-transform-origin: right top;
transform-origin: right top;
}
</style>
</head>
<body>
<div class="row"><div class="shape">MENU</div></div>
</body>
</html>