JSFiddle - React, Tailwind, and code Playground
by Sergey Goryachev
HTML
<div class="block">Подробнее</div>
CSS
body {
background: url('http://www.2fons.ru/pic/201407/2560x1600/2fons.ru-39477.jpg') 50% 50% / cover no-repeat;
}
.block {
width: 200px;
height: 60px;
line-height: 60px;
text-align: center;
border: 4px solid white;
border-width: 4px 0 4px 0;
margin-left: 50px;
position: relative;
font-family: Arial;
font-size: 25px;
font-weight: bold;
color: white;
text-transform: uppercase;
}
.block:before, .block:after {
content: "";
position: absolute;
width: 34px;
border: 4px solid white;
transform: rotate(45deg) skew(15deg, 15deg);
height: 34px;
}
.block:before {
border-width: 0 0 4px 4px;
left: -19px;
top: 11px;
}
.block:after {
border-width: 4px 4px 0 0;
right: -19px;
top: 11px;
}