JSFiddle - React, Tailwind, and code Playground
HTML
<nav id="navLeft">
<article id="cv" class="thumbLeft">
<p>Curriculum Vitae</p>
</article>
<article id="easyXml" class="thumbLeft">
<p onclick="window.open('/easyxml/index.html');">EasyXml</p>
</article>
</nav>
<nav id="navRight">
<article id="contact" class="thumbRight">
<p>Contact</p>
</article>
<article id="mySelf" class="thumbRight">
<p>About Me</p>
</article>
</nav>
CSS
p, nav, article {
border: 1px solid red
}
#navLeft
{
position: absolute;
left: 0;
top: 30%;
}
#navRight
{
position: absolute;
right: 0;
top: 30%;
}
.thumbLeft, .thumbRight
{
display: flex;
justify-content: center;
margin: 60px 0 60px 0;
width: 250px;
height: 80px;
background-image: url('/media/img/side_texture.png');
border-radius: 0px 50px 50px 0px;
-webkit-transition: all 0.3s cubic-bezier(.85,1.7,.73,.88);
-o-transition: all 0.3s cubic-bezier(.85,1.7,.73,.88);
transition: all 0.3s cubic-bezier(.85,1.7,.73,.88);
}
.thumbRight
{
border-radius: 50px 0px 0px 50px;
}
.thumbLeft:hover, .thumbRight:hover
{
color: #000000;
opacity: 0.8;
cursor: pointer;
width: 330px;
}