JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container">
   <button class="tag" type="button">Featured</button>
   <div id="grad1"></div>
</div>

CSS

#grad1 {
    height: 200px;
    background: red; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(red, yellow); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(red, yellow); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(red, yellow); /* For Firefox 3.6 to 15 */
    background: linear-gradient(red, yellow); /* Standard syntax (must be last) */
    opacity: 0.5;
    width: 100%;
}
.container {
   border: 1px solid #DDDDDD;
   width: 200px;
   height: 200px;
   position: relative;
}
.tag {
   float: left;
   position: absolute;
   left: 0px;
   top: 0px;
   z-index: 1;
   background-color: transparent;
   border: 1px solid white;
   border-radius: 2px;
   padding: 5px;
   height: 50px;
   width: 100px;
   color: #FFFFFF;
   font-weight: bold;
   transition: background-color 0.3s ease-in-out 0s;
   cursor: pointer;
}
.tag:hover{
  background-color: #92AD40;
}