JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrap">
<nav>
<a href="#">Активный пунк меню</a>
<a href="#">Самый длинный пунк меню</a>
<a href="#">Пунк меню</a>
<a href="#">Пунк меню</a>
<a href="#">Пунк меню</a>
<a href="#">Пунк меню</a>
</nav>
</div>
CSS
body{
margin: 0;
}
.wrap{
width: 1280px;
height: 300px;
margin: auto;
position: relative;
background: url(http://www.wallpaper77.com/upload/DesktopWallpapers/cache/Pattern-Blue-Vertical-Lines-background-patterns-pattern-wallpapers-1280x1024.jpg) no-repeat;
}
nav{
width: 100%;
height: 100px;
position: absolute;
bottom: 0;
}
nav a{
height: 100px;
float: left;
padding: 0 10px;
margin: 0 16px;
background-color: #fff;
line-height: 100px;
position: relative;
box-shadow: 0 13px #fff;
color: #333;
}
nav a:before,
nav a:after{
content: "";
display: block;
position: absolute;
top: 0;
right: 100%;
width: 20px;
height: 100px;
background-color: #fff;
z-index: 2;
}
nav a:after{
left: 100%;
background-color: #fff;
}
nav a:first-child{
margin-left: 289px;
}nav a:first-child:before{
width: 289px;
}
nav a:hover{
border-radius: 0 0 15px 15px;
background-color: transparent;
color: #fff;
text-decoration: none;
}
nav a:hover:before{
border-radius: 0 15px 0 0;
}
nav a:hover:after{
border-radius: 15px 0 0 0;
}