JSFiddle - React, Tailwind, and code Playground
HTML
<div>Красный кремль</div>
CSS
html { height: 100%; }
body { height: 100%; margin: 0; text-align: center; }
body:after {
content: "";
display: inline-block;
vertical-align: middle;
height: 100%;
width: 0;
}
div {
display: inline-block;
vertical-align: middle;
line-height: 120px;
width: 75%;
padding: 10px 10px;
font-size: 28px;
font-family: Arial, sans-serif;
color: #fff;
text-shadow: 0 1px 2px rgba(0,0,0,0.7);
border: 10px solid transparent;
border-width: 10px 0;
background-color: lightblue;
background-color: hsla(0, 0%, 0%, 0);
background-image:
linear-gradient(lightcoral, red),
linear-gradient(to bottom right, transparent 50.5%, lightcoral 50.5%),
linear-gradient(to bottom left, transparent 50.5%, lightcoral 50.5%),
linear-gradient(to top right, transparent 50.5%, red 50.5%),
linear-gradient(to top left, transparent 50.5%, red 50.5%);
background-repeat: repeat, repeat-x, repeat-x, repeat-x, repeat-x;
background-position: 0 0, 20px 0, 10px 0, 10px 100%, 10px 100%;
background-size: auto auto, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
background-clip: padding-box, border-box, border-box, border-box, border-box;
background-origin: padding-box, border-box, border-box, border-box, border-box;
}