JSFiddle - React, Tailwind, and code Playground

by petroveg

HTML

<button type="button" class="button"><span class="button-text">Пользователям</span></button>

CSS

.button {
	position: relative;
	height: 40px;
	margin: 0;
	padding: 0 40px;
	border: 0;
	font-size: 18px;
	line-height: 40px;
	color: #fff;
	background: none;
}
.button::-moz-focus-inner {
	padding: 0;
	border: 0
}
.button:before,
.button:after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #1c91c5;
	background-image: -webkit-linear-gradient(top, #0ea3d1, #1c91c5 50%, #197fbc);
	background-image: -moz-linear-gradient(top, #0ea3d1, #1c91c5 50%, #197fbc);
	background-image: -ms-linear-gradient(top, #0ea3d1, #1c91c5 50%, #197fbc);
	background-image: linear-gradient(top, #0ea3d1, #1c91c5 50%, #197fbc);
}
.button:before {
	right: 50%;
	border-radius: 0 0 0 5px;
	transform: skewX(22.5deg);
	transform-origin: 0 0;
}
.button:after {
	left: 50%;
	border-radius: 0 0 5px 0;
	transform: skewX(-22.5deg);
	transform-origin: 100% 0;
}
.button-text{
	position: relative;
	z-index: 1;
}