JSFiddle - React, Tailwind, and code Playground
by Alexandr Loginov
HTML
<span id="u7863-10">4380 руб</span>
CSS
#u7863-10 {
position: relative;
}
#u7863-10:before {
content: '';
position: absolute;
top: 0;
left: -5px;
transform: rotate();
width: 80px;
height: 2px;
background-color: #FF0C12;
-webkit-transform: matrix(0.9781,-0.2079,0.2079,0.9781,1,9);
-ms-transform: matrix(0.9781,-0.2079,0.2079,0.9781,1,9);
transform: matrix(0.9781,-0.2079,0.2079,0.9781,1,9);
}
#u7863-10:after {
content: '';
position: absolute;
top: 17px;
left: -5px;
transform: rotate();
width: 80px;
height: 2px;
background-color: #FF0C12;
-webkit-transform: matrix(0.9877,0.1564,-0.1564,0.9877,1,-7);
-ms-transform: matrix(0.9877,0.1564,-0.1564,0.9877,1,-7);
transform: matrix(0.9877,0.1564,-0.1564,0.9877,1,-7);
}