JSFiddle - React, Tailwind, and code Playground
by Denis Plotnikov
HTML
<!--<div class="bigGreenFrame">
<table cellspacing="0" cellpadding="0">
<tr>
<td><div class="bigGreenFrameL">BUY<br>ONE</div></td>
<td><div class="bigGreenFrameR">
<div class="bigGreenFrameRInhalt">
Привет!
</div>
</div></td>
</tr>
</table>
</div>
!-->
<div class="bigGreenFrame">
<div class="bigGreenFrameL">
<div class="bigGreenFrameLInhalt">
КУПИТЬ<br>9 ШТУК
</div>
</div>
<div class="bigGreenFrameR">
<div class="bigGreenFrameRInhalt">
<table cellspacing="0" cellpadding="0">
<tr>
<td><div class="bigGreenFrameImgGems"></div></td>
<td><div class="bigGreenFramePrice">2 560</div></td>
<td class="bigGreenFrameRInhaltForFree">ПОЛУЧИ 1<br>БЕСПЛАТНО</td>
</tr>
</table>
</div>
</div>
</div>
<div class="" style="display:inline-block; font-size:10px;">111</div>
CSS
@font-face {
font-family: DenisFont;
src: url(//st1.craziegames.com/racing7.vk/fonts/Play-Bold.ttf);
}
.bigGreenFrame{
background-color:#dddddd;
font-size:0px;
border:4px solid #dddddd;
border-radius:5px;
display:inline-block;
font-family: 'Play';
overflow:hidden;
}
.bigGreenFrameL, .bigGreenFrameR {
display:inline-block;
height:40px;
overflow:hidden;
border-radius:5px 0px 0px 5px;
}
.bigGreenFrameL {
background-color:#dddddd;
color:#111111;
font-size:12px;
padding:0px 20px 0px 10px;
}
.bigGreenFrameR {
padding:0px 10px 0px 10px;
font-size:20px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0ca610+0,026105+100 */
background: rgb(12,166,16); /* Old browsers */
background: -moz-linear-gradient(top, rgba(12,166,16,1) 0%, rgba(2,97,5,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(12,166,16,1) 0%,rgba(2,97,5,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(12,166,16,1) 0%,rgba(2,97,5,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0ca610', endColorstr='#026105',GradientType=0 ); /* IE6-9 */
/*background-color:#077907;*/
transform: skewX(-24deg);
border-right:150px solid #026302;
margin-right:-150px;
color:#ffffff;
box-shadow:0px 0px 1px #000000;
}
.bigGreenFrameRInhalt {
transform: skewX(24deg);
height:100%;
display:flex;
align-items:center;
}
.bigGreenFrameLInhalt {
height:100%;
display:flex;
align-items:center;
}
.bigGreenFrameImgGems {
width:18px;
height:18px;
background-size:100% 100%;
background-image: url(//st1.craziegames.com/racing7.vk/interface/gems.png);
margin-right:3px;
margin-left:5px;
margin-bottom:-1px;
-webkit-filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
-moz-filter:...