JSFiddle - React, Tailwind, and code Playground

HTML

<div class="btn norm">Просто</div>
<div class="btn gr">Градиент</div>

CSS

body {
  background: white;
}

.btn {
  width: 140px;
  height: 48px;
  margin: 50px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
}

.gr {
  border: 1px solid #4FD666;
  background: linear-gradient(to top right, white, white);
  color: #4FD666;
}

.gr:hover {
  color: white;
  background: linear-gradient(to top right, #3EC97A, #69EA49);
}

.norm {
  border: 1px solid #FF00AE;
  background: white;
  color:#FF00AE;
}

.norm:hover {
  color: white;
  background: #FF00AE;
}

.btn {
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}