JSFiddle - React, Tailwind, and code Playground

by Олег

HTML

<div class="test"></div>
<div class="test2"></div>

CSS

.test{
  width:200px;
  height:50px;
  border-radius:10px 0 0 10px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e5799+0,207cca+22,207cca+83,7db9e8+100 */
background: #1e5799; /* Old browsers */
background: -moz-linear-gradient(top,  #1e5799 0%, #207cca 22%, #207cca 83%, #7db9e8 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #1e5799 0%,#207cca 22%,#207cca 83%,#7db9e8 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #1e5799 0%,#207cca 22%,#207cca 83%,#7db9e8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */

  float:left;
}
.test:after{
  position:absolute;
  content:"";
  width:20px;
  height:50px;
  border-radius:10px 15px 15px 10px;
  background: #1e5799; 
  background: linear-gradient(to right,  #1e5799 0%,#207cca 22%,#207cca 83%,#7db9e8 100%);
  left:200px;
}
.test2{
  position:absolute;
  margin-left:200px;
  margin-top:5px;
  width:250px;
  height:40px;
  background: linear-gradient(to bottom,  #1e5799 0%,#242f3f 22%,#242f3f 83%,#7db9e8 100%);
  border-radius:5px 0 0 5px;
}