JSFiddle - React, Tailwind, and code Playground

HTML

<div class="jump">
  <ul class="figure">
    <li class="pgram-s skewed"><a class="pgram-text p-a" href="#">Сладости</a></li>
    <li class="pgram-t skewed"><a class="pgram-text p-a" href="#">Чай</a></li>
    <li class="pgram-c skewed"><a class="pgram-text p-a" href="#">Кофе</a></li>
    <li class="pgram-d pgram-r skewed"><a class="pgram-text p-a" href="#">Посуда</a></li>
  </ul>
</div>

SCSS

.jump{
  text-align: center;
}
.figure {
    list-style-type: none;
    margin: 0;
}
.pgram-s {
      display: inline-block;
      width: 250px;
      height: 350px;
	  background-image: url("../img/ft/1.png");
	  background-size: cover;
      transform: skew(30deg);
      border-left: 1px solid black;
      margin: -2px;
}
.pgram-t {
      display: inline-block;
      width: 250px;
      height: 350px;
      background-image: url("../img/ft/2.png");
	  background-size: cover;
      transform: skew(30deg);
      border-left: 1px solid black;
      margin: -2px;
}
.pgram-c {
      display: inline-block;
      width: 250px;
      height: 350px;
      background-image: url("../img/ft/3.png");
	  background-size: cover;
      transform: skew(30deg);
      border-left: 1px solid black;
      margin: -2px;
}
.pgram-d {
      display: inline-block;
      width: 250px;
      height: 350px;
	  background-image: url("../img/ft/4.png");
	  background-size: cover;
      transform: skew(30deg);
      border-left: 1px solid black;
      margin: -2px;
}
.pgram-r{
        border-right: 1px solid black;
}
.p-a{
        display: block;
        text-decoration: none;
        text-transform: uppercase;
        transform: skew(-30deg);
}
.pgram-text { 
background: #000C; 
border-radius: 5px; 
color: #FFF;
font-weight: bold;
max-width: 50%;  
left: 25%;
position: relative; 
text-transform: uppercase;
top: 85%;
z-index: 500;
text-shadow: 3px 2px 0 rgba(0, 0, 0, 0.3)
}