JSFiddle - React, Tailwind, and code Playground

by Paul Smith

HTML

<div class="a3"></div>

CSS

body {background:black}
 div{
    width: 200px;
    height: 100px;
    margin: 50px 0;
    position:relative;
   background: #d72200;
   background: -moz-linear-gradient(left,  #9ac739 0%,#6bbe39 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#d72200), color-stop(20%,#d72200), color-stop(20%,#9ac739), color-stop(100%,#6bbe39)); 
    background: -webkit-linear-gradient(left, #9ac739 0%,#6bbe39 100%);
    background: -o-linear-gradient(left, #9ac739 0%,#6bbe39 100%);
    background: -ms-linear-gradient(left,  #9ac739 0%,#6bbe39 100%);
    background: linear-gradient(to right,  #9ac739 0%,#6bbe39 100%);
} 
div:after{
    content:'';
    width: 100px;
    height: 100px;
    position: absolute;
    left: 100%;
    top: 0;
    background: #4eb739;
    background: -moz-linear-gradient(45deg,  #4eb739 0%, #6bbe39 50%, #6bbe39 100%);
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#4eb739), color-stop(50%,#6bbe39), color-stop(100%,#6bbe39));
    background: -webkit-linear-gradient(45deg,  #4eb739 0%,#6bbe39 50%,#6bbe39 100%);
    background: -o-linear-gradient(45deg,  #4eb739 0%,#6bbe39 50%,#6bbe39 100%);
    background: -ms-linear-gradient(45deg,  #4eb739 0%,#6bbe39 50%,#6bbe39 100%);
    background: linear-gradient(45deg,  #4eb739 0%,#6bbe39 50%,#6bbe39 100%);
    -moz-transform: scale(1) rotate(45deg) translate(0px, 0px) skew(0deg, 0deg);
    -webkit-transform: scale(1) rotate(45deg) translate(0px, 0px) skew(0deg, 0deg);
    -o-transform: scale(1) rotate(45deg) translate(0px, 0px) skew(0deg, 0deg);
    -ms-transform: scale(1) rotate(45deg) translate(0px, 0px) skew(0deg, 0deg);
    transform: scale(1) rotate(45deg) translate(0px, 0px) skew(0deg, 0deg);
    z-index: -2;
    margin: 0 0 0 -50px;
}
 div:before{
    content:'';
    position:absolute;
    top: 0;
    right: 0;
    height: 100%;
    padding: 22px 0;
    z-index: -1;
    background: #fff;
    margin: -22px 0;
    width: 100%;
}