JSFiddle - React, Tailwind, and code Playground
by Сергей Тарасевич
HTML
<div class="classA">
<div class="classB">
<span> Вы </span>
<span>ошиблись</span>
</div>
</div>
CSS
html,
body {
background: #eee;
margin: 0;
padding: 0;
}
.classA {
align-items: center;
left: 0;
justify-content: center;
position: absolute;
top: 0;
display: flex;
height: 100vh;
width: 100vw;
}
.classB {
background: #000000;
border-radius: 3px;
color: #ffffff;
font-size: 10vw;
font-family: sans-serif;
font-weight: 600;
padding: 2vw;
}
.classB span {}
.classB span+span {
background: #ff9300;
border-radius: 3px;
color: #000000;
display: inline-block;
font-weight: 400;
padding: 0 1vw;
}