JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<!--[if IE 8]>
<style>
.main-menu a.first,
.main-menu a.last{
position: relative;
}
.main-menu a.first:before,
.main-menu a.last:before{
content: "";
position: absolute;
display: block;
width: 27px;
height: 27px;
background: url(http://img210.imageshack.us/img210/4355/menu4v.png) no-repeat;
left: -1px;
}
.main-menu a.last:before{
left: auto;
right: -1px;
background-position: -27px 0;
}
</style>
<![endif]-->
<script src="http://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.6/prefixfree.min.js"></script>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
</head>
<body>
<div class="wrapper">
<nav class="main-menu">
<a href="#" class="first">Меню1</a>
<a href="#">Меню2</a>
<a href="#">Меню3</a>
<a href="#" class="last">Меню4</a>
</nav>
</div>
</body>
</html>
CSS
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
display: block;
}
body{
margin: 0;
}
.wrapper {
width: 1220px;
height: 600px;
padding: 40px;
margin: auto;
background: #d0a978;
}
.main-menu a{
width: 248px;
height: 230px;
float: left;
color: #442613;
font: bold 28px/230px Arial, Helvetica, sans-serif;
text-align: center;
text-decoration: none;
background: #ffb400;
background: linear-gradient(top,#ffb800,#ffb400);
border-right: 1px solid #ef9e00;
border-left: 1px solid #ffcb3d;
}
.main-menu a.first{
border-left-color: transparent;
border-radius: 30px 0 0;
}
.main-menu a.last{
border-right: transparent;
border-radius: 0 30px 0 0;
}
.main-menu a:hover {
background: #ffac00;
border-left: 1px solid #ffb400;
color: #fff;
}