JSFiddle - React, Tailwind, and code Playground

by Rodrigo Portillo

HTML

<div class="can">
  <div class="body">
  </div>
</div>

CSS

.can{
  height: 400px;
  width: 100px;
}

.body{
  height:360px;
  width: 100px;
  background: rgb(42,135,249); /* Old browsers */
  background: -moz-linear-gradient(left, rgba(42,135,249,1) 2%, rgba(109,179,242,1) 34%, rgba(84,163,238,1) 62%, rgba(54,144,240,1) 87%, rgba(30,105,222,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, rgba(42,135,249,1) 2%,rgba(109,179,242,1) 34%,rgba(84,163,238,1) 62%,rgba(54,144,240,1) 87%,rgba(30,105,222,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(42,135,249,1) 2%,rgba(109,179,242,1) 34%,rgba(84,163,238,1) 62%,rgba(54,144,240,1) 87%,rgba(30,105,222,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2a87f9', endColorstr='#1e69de',GradientType=1 ); /* IE6-9 */
}